Skip to content

Commit f249b6a

Browse files
committed
templates command should not prompt for a tracker home.
1 parent 32b083d commit f249b6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roundup/admin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1932,6 +1932,8 @@ def run_command(self, args):
19321932
self.help_commands()
19331933
self.help_all()
19341934
return 0
1935+
if command == 'templates':
1936+
return self.do_templates(args[1:])
19351937

19361938
# figure what the command is
19371939
try:
@@ -1970,8 +1972,6 @@ def run_command(self, args):
19701972
except UsageError as message: # noqa: F841
19711973
print(_('Error: %(message)s') % locals())
19721974
return 1
1973-
elif command == "templates":
1974-
return self.do_templates(args[1:])
19751975

19761976
# get the tracker
19771977
try:

0 commit comments

Comments
 (0)