Mercurial > p > roundup > code
diff roundup/admin.py @ 7320:209e94ed0277
templates command should not prompt for a tracker home.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 11 May 2023 11:25:58 -0400 |
| parents | 57f34b0b912c |
| children | a210f4437b49 |
line wrap: on
line diff
--- a/roundup/admin.py Thu May 11 02:54:01 2023 -0400 +++ b/roundup/admin.py Thu May 11 11:25:58 2023 -0400 @@ -1932,6 +1932,8 @@ self.help_commands() self.help_all() return 0 + if command == 'templates': + return self.do_templates(args[1:]) # figure what the command is try: @@ -1970,8 +1972,6 @@ except UsageError as message: # noqa: F841 print(_('Error: %(message)s') % locals()) return 1 - elif command == "templates": - return self.do_templates(args[1:]) # get the tracker try:
