aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command/html.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2010-07-14 19:31:15 -0400
committerW. Trevor King <wking@drexel.edu>2010-07-14 19:31:15 -0400
commit7fd82c5cebdd035a636d306a888dcf6d319e6b87 (patch)
tree4b6133323571b2093a7f13fd6a8fe0e0d9c25e2f /libbe/command/html.py
parent3be9276eef9081fa51f8b75516176f203f18b39b (diff)
parent1c904b36abdec26b72d32ad7bc1e848c4064c21b (diff)
downloadbugseverywhere-7fd82c5cebdd035a636d306a888dcf6d319e6b87.tar.gz
Merge remote branch 'matclab/master'
Diffstat (limited to 'libbe/command/html.py')
-rw-r--r--libbe/command/html.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/libbe/command/html.py b/libbe/command/html.py
index e6c4c8c..f4273e9 100644
--- a/libbe/command/html.py
+++ b/libbe/command/html.py
@@ -104,9 +104,6 @@ class HTML (libbe.command.Command):
])
def _run(self, **params):
- if params['export-template'] == True:
- html_gen.write_default_template(params['export-template-dir'])
- return 0
bugdir = self._get_bugdir()
bugdir.load_all_bugs()
html_gen = HTMLGen(bugdir,
@@ -116,7 +113,10 @@ class HTML (libbe.command.Command):
min_id_length=params['min-id-length'],
verbose=params['verbose'],
stdout=self.stdout)
- html_gen.run(params['output'])
+ if params['export-template'] == True:
+ html_gen.write_default_template(params['export-template-dir'])
+ else:
+ html_gen.run(params['output'])
return 0
def _long_help(self):