Avoid touching changed_files when prev_deploy is None.

(imported from commit d72d2c34fb5301a6ffdc134bb6ea0db78ef80938)
This commit is contained in:
Steve Howell
2014-01-11 16:16:13 -05:00
parent a9faaecb97
commit 88f5a89c93

View File

@@ -70,7 +70,8 @@ if prev_deploy:
prev_deploy = None
# Always use the newly compiled handlebars templates.
changed_files.add(os.path.join(STATIC_PATH, 'templates/compiled.js'))
if prev_deploy:
changed_files.add(os.path.join(STATIC_PATH, 'templates/compiled.js'))
JS_SPECS = settings.JS_SPECS
CLOSURE_BINARY = 'tools/closure-compiler/run'