1
0
Fork 0
forked from github/pelican

some cleanup

This commit is contained in:
Alexis Métaireau 2013-05-13 13:53:52 +10:00
commit ead50cca62

View file

@ -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.')