Comment 1 for bug 1003230

Scott Moser (smoser) wrote :

This seems to have been broken for quite some time.
Simplist fix is to just remove 'revno' from the output message:

=== modified file 'VMBuilder/contrib/cli.py'
--- VMBuilder/contrib/cli.py 2011-10-27 20:01:00 +0000
+++ VMBuilder/contrib/cli.py 2012-05-24 13:13:29 +0000
@@ -277,7 +277,7 @@
             optparser.add_option_group(optgroup)

     def versioninfo(self, option, opt, value, parser):
- print ('%(major)d.%(minor)d.%(micro)s.r%(revno)d' %
+ print ('%(major)d.%(minor)d.%(micro)s' %
                                                  VMBuilder.get_version_info())
         sys.exit(0)