diff options
author | Aaron Bentley <abentley@panoramicfeedback.com> | 2005-03-23 14:34:51 +0000 |
---|---|---|
committer | Aaron Bentley <abentley@panoramicfeedback.com> | 2005-03-23 14:34:51 +0000 |
commit | 43d8c19ae299bab2cba0f29b560396ba6d8bd1a5 (patch) | |
tree | 1b8edf5f70e875f300b9157ef1c6b503eceae9b9 /libbe/cmdutil.py | |
parent | f9e8f7bb4360d473073b59e4dcb9e1a38d7e0d56 (diff) | |
download | bugseverywhere-43d8c19ae299bab2cba0f29b560396ba6d8bd1a5.tar.gz |
Moved FileString and get_file() into utility.py
Diffstat (limited to 'libbe/cmdutil.py')
-rw-r--r-- | libbe/cmdutil.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libbe/cmdutil.py b/libbe/cmdutil.py index e6d5a8f..31a542d 100644 --- a/libbe/cmdutil.py +++ b/libbe/cmdutil.py @@ -2,6 +2,7 @@ import bugdir import plugin import os import optparse +import utility def unique_name(bug, bugs): chars = 1 @@ -111,6 +112,11 @@ class CmdOptionParser(optparse.OptionParser): return iter_combine([self._short_opt.iterkeys(), self._long_opt.iterkeys()]) + def help_str(self): + fs = utility.FileString() + self.print_help(fs) + return fs.str + def underlined(instring): """Produces a version of a string that is underlined with '=' |