diff options
author | Magnus Hagander | 2018-12-14 16:57:16 +0000 |
---|---|---|
committer | Magnus Hagander | 2018-12-14 16:57:16 +0000 |
commit | 3e63c99bef870e3a466f59248b338611d625f867 (patch) | |
tree | bf6b771fe864fa7db0b7cb0e3e53f61bbb7b54ba /tools/deploystatic/deploystatic.py | |
parent | 9c17273a9dd5128f42ea69ca7965f5c20fd13c1f (diff) |
Avoid multi-statement rows
Diffstat (limited to 'tools/deploystatic/deploystatic.py')
-rwxr-xr-x | tools/deploystatic/deploystatic.py | 3 |
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)) |