skip ~ files in static content import

This commit is contained in:
ichuang
2014-01-27 02:42:35 +00:00
committed by David Baumgold
parent 33f86a7af1
commit 09bdcbbc6f

View File

@@ -39,6 +39,12 @@ def import_static_content(
for filename in filenames:
content_path = os.path.join(dirname, filename)
if filename.endswith('~'):
if verbose:
log.debug('skipping static content %s...', content_path)
continue
if verbose:
log.debug('importing static content %s...', content_path)