Skip to content

Commit

Permalink
fabfile: remove extraneous whitespace
Browse files Browse the repository at this point in the history
Now pep8 compliant. I miss gofmt.
  • Loading branch information
josharian committed Jun 26, 2015
1 parent 4b46253 commit a6657bc
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions fabfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def concat():

if "cython_dmz" in base_path:
continue

if base_path.startswith("./.git/"):
continue

Expand All @@ -36,7 +36,7 @@ def concat():
is_impl = True
if not is_impl:
continue

path = os.path.join(base_path, filename)

if "expiry" in path:
Expand All @@ -53,10 +53,10 @@ def concat():
include_lines.extend(["#ifndef DMZ_ALL_H", "#define DMZ_ALL_H 1", ""])

include_lines.extend(["", "#if COMPILE_DMZ", ""])

for impl_file in impl_files:
include_lines.append("#include \"{impl_file}\"".format(**locals()))

include_lines.extend(["", " #if SCAN_EXPIRY"])
for expiry_impl_file in expiry_impl_files:
include_lines.append(" #include \"{expiry_impl_file}\"".format(**locals()))
Expand All @@ -68,4 +68,3 @@ def concat():

with open("dmz_all.cpp", "w") as out:
out.write("\n".join(include_lines))

0 comments on commit a6657bc

Please sign in to comment.