diff options
-rw-r--r-- | clcommands.py | 10 | ||||
-rw-r--r-- | pyro_ext.py | 5 |
2 files changed, 6 insertions, 9 deletions
diff --git a/clcommands.py b/clcommands.py index 4341d5f..3608887 100644 --- a/clcommands.py +++ b/clcommands.py @@ -20,11 +20,8 @@ one command. e.g called as "tool command [options] args..." where <options> and <args> are command'specific - - - - """ + __docformat__ = "restructuredtext en" # XXX : merge with optparser ? @@ -142,7 +139,10 @@ def cmd_run(cmdname, *args): def main_run(args, doc=DEFAULT_DOC, copyright=DEFAULT_COPYRIGHT): - """command line tool""" + """command line tool + + >>> main_run(sys.argv[1:]) + """ try: arg = args.pop(0) except IndexError: diff --git a/pyro_ext.py b/pyro_ext.py index 151dea8..e619130 100644 --- a/pyro_ext.py +++ b/pyro_ext.py @@ -23,11 +23,8 @@ Main functions available: approach and register it in the nameserver. * `ns_unregister` unregister an object identifier from the nameserver. * `ns_get_proxy` get a pyro proxy from a nameserver object identifier. - -:organization: Logilab - - """ + __docformat__ = "restructuredtext en" import logging |