Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
flake8
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jan 10, 2016
1 parent 4e50e61 commit 4727d4a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nikola/plugins/command/init.py
Expand Up @@ -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
Expand All @@ -231,6 +232,7 @@ def test_destination(destination, demo=False):
else:
return True


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

Expand Down

0 comments on commit 4727d4a

Please sign in to comment.