aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesus Rivero <neurogeek@gentoo.org>2011-09-28 06:44:10 -0400
committerJesus Rivero <neurogeek@gentoo.org>2011-09-28 06:44:10 -0400
commitafb0f03400b82effd5699d3202ac389f9cc42156 (patch)
tree714f374628a95627e2f6ec4e31dde5f8f3ec3190
parentAdded dist to gitignore (diff)
downloadmetagen-afb0f03400b82effd5699d3202ac389f9cc42156.tar.gz
metagen-afb0f03400b82effd5699d3202ac389f9cc42156.tar.bz2
metagen-afb0f03400b82effd5699d3202ac389f9cc42156.zip
Fixed bug #384535, modified test_cli and upped the versionv0.6.2
-rwxr-xr-xmetagen/main.py1
-rwxr-xr-xmetagen/test_cli14
-rw-r--r--metagen/version.py2
3 files changed, 9 insertions, 8 deletions
diff --git a/metagen/main.py b/metagen/main.py
index 0a996f7..a8e8515 100755
--- a/metagen/main.py
+++ b/metagen/main.py
@@ -58,6 +58,7 @@ def parse_echangelog_variable(name, email):
def generate_xml(options):
"""Returns metadata.xml text"""
+ herds=[]
metadata = metagenerator.MyMetadata()
if options.herd:
diff --git a/metagen/test_cli b/metagen/test_cli
index 84cf9cf..847ae07 100755
--- a/metagen/test_cli
+++ b/metagen/test_cli
@@ -2,27 +2,27 @@
#Should fail if ECHANGELOG_USER not set:
echo 'metagen -m -Q'
-./metagen.py -m -Q
+metagen -m -Q
echo 'metagen -e "someguy@gentoo.org" -d "Maint desc" -Q'
-./metagen.py -e "someguy@gentoo.org" -d "Maint desc" -Q
+metagen -e "someguy@gentoo.org" -d "Maint desc" -Q
echo 'metagen -e "someguy@gentoo.org" -n "Jon Doe" -d "Maint desc" -Q'
-./metagen.py -e "someguy@gentoo.org" -n "Jon Doe" -d "Maint desc" -Q
+metagen -e "someguy@gentoo.org" -n "Jon Doe" -d "Maint desc" -Q
#Should fail if ECHANGELOG_USER not set:
echo 'metagen -m -H python -e "foo@bar.com" -d "Foo bar.","Chow fun" -Q'
-./metagen.py -m -H python -e "foo@bar.com" -d "Foo bar.","Chow fun" -Q
+metagen -m -H python -e "foo@bar.com" -d "Foo bar.","Chow fun" -Q
#Should fail:
echo 'metagen -Q'
-./metagen.py -Q
+metagen -Q
#Should fail:
echo 'metagen -l "Long desc" -Q'
-./metagen.py -l "Long desc" -Q
+metagen -l "Long desc" -Q
#Should fail:
echo 'metagen -d "Maintainer desc" -Q'
-./metagen.py -d "Maintainer desc" -Q
+metagen -d "Maintainer desc" -Q
diff --git a/metagen/version.py b/metagen/version.py
index f320129..34954ba 100644
--- a/metagen/version.py
+++ b/metagen/version.py
@@ -1 +1 @@
-__version__="0.6.1"
+__version__="0.6.2"