[master] 4ef7a77 Include python files in white-space sweep
Poul-Henning Kamp
phk at varnish-cache.org
Thu May 12 16:25:52 CEST 2011
commit 4ef7a77fd1676a911876e662e84f15148f14d56b
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Thu May 12 14:25:38 2011 +0000
Include python files in white-space sweep
diff --git a/lib/libvcl/generate.py b/lib/libvcl/generate.py
index 06620e5..904fea1 100755
--- a/lib/libvcl/generate.py
+++ b/lib/libvcl/generate.py
@@ -572,7 +572,7 @@ def emit_file(fo, fn):
w = 66 # Width of lines, after white space prefix
maxlen = 10240 # Max length of string literal
- x = 0
+ x = 0
l = 0
fo.write("\n\t/* %s */\n\n" % fn)
for c in fc:
@@ -600,7 +600,7 @@ def emit_file(fo, fn):
fo.write(d + "\"\n")
x = 0
continue
-
+
fo.write(d)
x += len(d)
l += len(d)
@@ -663,7 +663,7 @@ for i in returns:
vcls.append(i[0])
for j in i[1]:
rets[j] = True
-
+
#######################################################################
fo = open(buildroot + "/include/vcl_returns.h", "w")
@@ -782,7 +782,7 @@ def restrict(fo, spec):
n += 1
fo.write(p + "VCL_MET_" + j.upper())
p = " | "
-
+
fo.write(",\n")
#######################################################################
diff --git a/lib/libvmod_std/vmod.py b/lib/libvmod_std/vmod.py
index 5ff69f0..6614115 100755
--- a/lib/libvmod_std/vmod.py
+++ b/lib/libvmod_std/vmod.py
@@ -196,7 +196,7 @@ while True:
while -1 == l.find(")"):
l1 = nextline()
- if l1 == "":
+ if l1 == "":
raise Exception("End Of Input looking for ')'")
l = l + l1
@@ -229,7 +229,7 @@ while True:
elif tq != None:
raise Exception(
"Argument type '%s' cannot be qualified with {...}" % at)
-
+
vargs.append(at)
do_func(fname, rt_type, args, vargs)
More information about the varnish-commit
mailing list