Mercurial > p > roundup > code
comparison roundup/admin.py @ 2313:8d5c95c33447
precis wasn't a typo
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 14 May 2004 22:43:33 +0000 |
| parents | f786a1b9dbdf |
| children | e128fd807054 |
comparison
equal
deleted
inserted
replaced
| 2312:f11dfe8be34d | 2313:8d5c95c33447 |
|---|---|
| 14 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | 14 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
| 15 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" | 15 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" |
| 16 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, | 16 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
| 17 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. | 17 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
| 18 # | 18 # |
| 19 # $Id: admin.py,v 1.69 2004-05-14 20:01:16 a1s Exp $ | 19 # $Id: admin.py,v 1.70 2004-05-14 22:43:33 richard Exp $ |
| 20 | 20 |
| 21 '''Administration commands for maintaining Roundup trackers. | 21 '''Administration commands for maintaining Roundup trackers. |
| 22 ''' | 22 ''' |
| 23 __docformat__ = 'restructuredtext' | 23 __docformat__ = 'restructuredtext' |
| 24 | 24 |
| 129 roundup-admin help all -- all available help | 129 roundup-admin help all -- all available help |
| 130 ''')%locals() | 130 ''')%locals() |
| 131 self.help_commands() | 131 self.help_commands() |
| 132 | 132 |
| 133 def help_commands(self): | 133 def help_commands(self): |
| 134 ''' List the commands available with their precise help. | 134 ''' List the commands available with their help summary. |
| 135 ''' | 135 ''' |
| 136 print _('Commands:'), | 136 print _('Commands:'), |
| 137 commands = [''] | 137 commands = [''] |
| 138 for command in self.commands.values(): | 138 for command in self.commands.values(): |
| 139 h = _(command.__doc__).split('\n')[0] | 139 h = _(command.__doc__).split('\n')[0] |
