diff options
author | 2011-09-28 06:44:10 -0400 | |
---|---|---|
committer | 2011-09-28 06:44:10 -0400 | |
commit | afb0f03400b82effd5699d3202ac389f9cc42156 (patch) | |
tree | 714f374628a95627e2f6ec4e31dde5f8f3ec3190 | |
parent | Added dist to gitignore (diff) | |
download | metagen-afb0f03400b82effd5699d3202ac389f9cc42156.tar.gz metagen-afb0f03400b82effd5699d3202ac389f9cc42156.tar.bz2 metagen-afb0f03400b82effd5699d3202ac389f9cc42156.zip |
Fixed bug #384535, modified test_cli and upped the versionv0.6.2
-rwxr-xr-x | metagen/main.py | 1 | ||||
-rwxr-xr-x | metagen/test_cli | 14 | ||||
-rw-r--r-- | metagen/version.py | 2 |
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" |