diff options
author | Andreas Hasenack <andreas@mandriva.com> | 2006-01-27 18:28:56 +0000 |
---|---|---|
committer | Andreas Hasenack <andreas@mandriva.com> | 2006-01-27 18:28:56 +0000 |
commit | 6bf0978af43f267fc17ce6e5d64e2053e60dae5f (patch) | |
tree | 8e2adf037c61458edfaaf51629bd0ae9d2a29f2a /RepSys | |
parent | 8915244d4bdb567574afe29e3976fcb1afb086dd (diff) | |
download | mgarepo-6bf0978af43f267fc17ce6e5d64e2053e60dae5f.tar mgarepo-6bf0978af43f267fc17ce6e5d64e2053e60dae5f.tar.gz mgarepo-6bf0978af43f267fc17ce6e5d64e2053e60dae5f.tar.bz2 mgarepo-6bf0978af43f267fc17ce6e5d64e2053e60dae5f.tar.xz mgarepo-6bf0978af43f267fc17ce6e5d64e2053e60dae5f.zip |
- fix callback usage in markrelease
Diffstat (limited to 'RepSys')
-rw-r--r-- | RepSys/commands/markrelease.py | 2 |
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") |