Commit 09bdcbbc by ichuang Committed by David Baumgold

skip ~ files in static content import

parent 33f86a7a
...@@ -39,6 +39,12 @@ def import_static_content( ...@@ -39,6 +39,12 @@ def import_static_content(
for filename in filenames: for filename in filenames:
content_path = os.path.join(dirname, filename) content_path = os.path.join(dirname, filename)
if filename.endswith('~'):
if verbose:
log.debug('skipping static content %s...', content_path)
continue
if verbose: if verbose:
log.debug('importing static content %s...', content_path) log.debug('importing static content %s...', content_path)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment