Skip to content

Commit

Permalink
We don't run
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto Alsina committed May 18, 2017
1 parent 05ca9ab commit 43cbf69
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions nikola/__main__.py
Expand Up @@ -376,14 +376,6 @@ def run(self, cmd_args):
# get "global vars" from cmd-line
args = self.process_args(cmd_args)

# get specified sub-command or use default='run'
if len(args) == 0 or args[0] not in sub_cmds:
specified_run = False
cmd_name = 'run'
else:
specified_run = True
cmd_name = args.pop(0)

# execute command
command = sub_cmds.get_plugin(cmd_name)(
task_loader=self.task_loader,
Expand Down

0 comments on commit 43cbf69

Please sign in to comment.