File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646
4747 initialcolor
4848 initial color, as a color name or #RRGGBB format
49-
5049"""
5150
52- __version__ = '1.1 '
51+ __version__ = '1.2 '
5352
5453import sys
5554import os
56- import string
5755import getopt
5856import ColorDB
57+
5958from PyncheWidget import PyncheWidget
6059from Switchboard import Switchboard
6160from StripViewer import StripViewer
7978
8079
8180
81+ # Do this because PyncheWidget.py wants to get at the interpolated docstring
82+ # too, for its Help menu.
8283def docstring ():
83- return string . rstrip ( __doc__ % globals () )
84+ return __doc__ % globals ()
8485
8586
86- def usage (status , msg = '' ):
87+ def usage (code , msg = '' ):
8788 print docstring ()
8889 if msg :
8990 print msg
90- sys .exit (status )
91+ sys .exit (code )
9192
9293
9394
@@ -217,6 +218,7 @@ def main():
217218 run (app , sb )
218219 sb .save_views ()
219220
221+
220222
221223if __name__ == '__main__' :
222224 main ()
You can’t perform that action at this time.
0 commit comments