summaryrefslogtreecommitdiff
path: root/tools/deploystatic/deploystatic.py
diff options
context:
space:
mode:
authorMagnus Hagander2018-12-14 16:57:16 +0000
committerMagnus Hagander2018-12-14 16:57:16 +0000
commit3e63c99bef870e3a466f59248b338611d625f867 (patch)
treebf6b771fe864fa7db0b7cb0e3e53f61bbb7b54ba /tools/deploystatic/deploystatic.py
parent9c17273a9dd5128f42ea69ca7965f5c20fd13c1f (diff)
Avoid multi-statement rows
Diffstat (limited to 'tools/deploystatic/deploystatic.py')
-rwxr-xr-xtools/deploystatic/deploystatic.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/deploystatic/deploystatic.py b/tools/deploystatic/deploystatic.py
index ce4d8a3e..628ea958 100755
--- a/tools/deploystatic/deploystatic.py
+++ b/tools/deploystatic/deploystatic.py
@@ -293,7 +293,8 @@ if __name__ == "__main__":
# system.
knownfiles = []
for relpath, relname in source.walkfiles('templates'):
- if relpath.startswith('templates/pages'): continue
+ if relpath.startswith('templates/pages'):
+ continue
if not os.path.isdir(os.path.join(args.destpath, relpath)):
os.makedirs(os.path.join(args.destpath, relpath))