Author: poeml Date: 2009-02-03 09:21:43 -0700 (Tue, 03 Feb 2009) New Revision: 6344 Modified: trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py Log: mirrordoctor: add --version switch Modified: trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py =================================================================== --- trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py 2009-02-03 15:46:38 UTC (rev 6343) +++ trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py 2009-02-03 16:21:43 UTC (rev 6344) _at_@ -60,8 +60,7 @@ def get_optparser(self): """Parser for global options (that are not specific to a subcommand)""" - #optparser = cmdln.CmdlnOptionParser(self, version=get_version()) - optparser = cmdln.CmdlnOptionParser(self) + optparser = cmdln.CmdlnOptionParser(self, version=__version__) optparser.add_option('-d', '--debug', action='store_true', help='print info useful for debugging') optparser.add_option('-b', '--brain-instance', _______________________________________________ Opensuse-svn mailing list Opensuse-svn_at_forge.novell.com http://forge.novell.com/mailman/listinfo/opensuse-svn _______________________________________________ mirrorbrain-commits mailing list Note: To remove yourself from this list, send a mail with the content unsubscribe to the address mirrorbrain-commits-request_at_mirrorbrain.orgReceived on Tue Feb 03 2009 - 16:22:21 GMT
This archive was generated by hypermail 2.3.0 : Mon Feb 20 2012 - 23:47:04 GMT