From ead50cca621829148aa599d91c3935cff3bc304d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Mon, 13 May 2013 13:53:52 +1000 Subject: [PATCH] some cleanup --- pelican/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pelican/__init__.py b/pelican/__init__.py index 53024e3d..6e9e676b 100644 --- a/pelican/__init__.py +++ b/pelican/__init__.py @@ -246,7 +246,7 @@ def parse_arguments(): parser.add_argument('-d', '--delete-output-directory', dest='delete_outputdir', - action='store_true', + action='store_true', default=None, help='Delete the output directory.') @@ -357,7 +357,7 @@ def main(): if modified['theme'] is None: logger.warning('Empty theme folder. Using `basic` theme.') - + pelican.run() except KeyboardInterrupt: @@ -374,7 +374,6 @@ def main(): finally: time.sleep(.5) # sleep to avoid cpu load - else: if next(watchers['content']) is None: logger.warning('No valid files found in content.')