From: <dwa...@us...> - 2007-12-21 12:57:41
|
Revision: 6778 http://translate.svn.sourceforge.net/translate/?rev=6778&view=rev Author: dwaynebailey Date: 2007-12-21 04:57:43 -0800 (Fri, 21 Dec 2007) Log Message: ----------- Set the deafult for multifile option correctly Modified Paths: -------------- src/trunk/translate/convert/convert.py Modified: src/trunk/translate/convert/convert.py =================================================================== --- src/trunk/translate/convert/convert.py 2007-12-21 12:49:02 UTC (rev 6777) +++ src/trunk/translate/convert/convert.py 2007-12-21 12:57:43 UTC (rev 6778) @@ -61,7 +61,7 @@ def add_multifile_option(self, default="single"): """adds an option to say how to split the po/pot files""" - self.add_option("", "--multifile", dest="multifilestyle", default="single", + self.add_option("", "--multifile", dest="multifilestyle", default=default, type="choice", choices=["single", "toplevel", "onefile"], help="how to split po/pot files (single, toplevel or onefile)", metavar="MULTIFILESTYLE") self.passthrough.append("multifilestyle") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |