Skip to content

Commit 43cbf69

Browse files
author
Roberto Alsina
committedMay 18, 2017
We don't run
1 parent 05ca9ab commit 43cbf69

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed
 

‎nikola/__main__.py

-8
Original file line numberDiff line numberDiff line change
@@ -376,14 +376,6 @@ def run(self, cmd_args):
376376
# get "global vars" from cmd-line
377377
args = self.process_args(cmd_args)
378378

379-
# get specified sub-command or use default='run'
380-
if len(args) == 0 or args[0] not in sub_cmds:
381-
specified_run = False
382-
cmd_name = 'run'
383-
else:
384-
specified_run = True
385-
cmd_name = args.pop(0)
386-
387379
# execute command
388380
command = sub_cmds.get_plugin(cmd_name)(
389381
task_loader=self.task_loader,

0 commit comments

Comments
 (0)
Please sign in to comment.