aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Hasenack <andreas@mandriva.com>2006-01-27 18:28:56 +0000
committerAndreas Hasenack <andreas@mandriva.com>2006-01-27 18:28:56 +0000
commit6bf0978af43f267fc17ce6e5d64e2053e60dae5f (patch)
tree8e2adf037c61458edfaaf51629bd0ae9d2a29f2a
parent8915244d4bdb567574afe29e3976fcb1afb086dd (diff)
downloadmgarepo-6bf0978af43f267fc17ce6e5d64e2053e60dae5f.tar
mgarepo-6bf0978af43f267fc17ce6e5d64e2053e60dae5f.tar.gz
mgarepo-6bf0978af43f267fc17ce6e5d64e2053e60dae5f.tar.bz2
mgarepo-6bf0978af43f267fc17ce6e5d64e2053e60dae5f.tar.xz
mgarepo-6bf0978af43f267fc17ce6e5d64e2053e60dae5f.zip
- fix callback usage in markrelease
-rw-r--r--RepSys/commands/markrelease.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/RepSys/commands/markrelease.py b/RepSys/commands/markrelease.py
index 054fff0..628e02d 100644
--- a/RepSys/commands/markrelease.py
+++ b/RepSys/commands/markrelease.py
@@ -45,7 +45,7 @@ def parse_options():
parser = OptionParser(help=HELP)
parser.defaults["version"] = None
parser.defaults["release"] = None
- parser.add_option("-v", action="callback", callback=version_callback)
+ parser.add_option("-v", action="callback", type="string", callback=version_callback)
parser.add_option("-r", dest="revision")
parser.add_option("-f", dest="filename")
parser.add_option("-n", dest="appendname", action="store_true")