Skip to content
Permalink
Browse files

flake8

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jan 10, 2016
1 parent 4e50e61 commit 4727d4af8fa40b9ac7fafef3916132914c6bde56
Showing with 2 additions and 0 deletions.
  1. +2 −0 nikola/plugins/command/init.py
@@ -220,6 +220,7 @@ def prepare_config(config):
p.update({k: str(v) for k, v in config.items() if isinstance(v, bool) or v is None})
return p


def test_destination(destination, demo=False):
"""Check if the destination already exists, which can break demo site creation."""
# Issue #2214
@@ -231,6 +232,7 @@ def test_destination(destination, demo=False):
else:
return True


class CommandInit(Command):
"""Create a new site."""

0 comments on commit 4727d4a

Please sign in to comment.
You can’t perform that action at this time.