Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
4ef7a77f
Commit
4ef7a77f
authored
May 12, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include python files in white-space sweep
parent
5a83d477
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
generate.py
lib/libvcl/generate.py
+4
-4
vmod.py
lib/libvmod_std/vmod.py
+2
-2
No files found.
lib/libvcl/generate.py
View file @
4ef7a77f
...
...
@@ -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
"
)
#######################################################################
...
...
lib/libvmod_std/vmod.py
View file @
4ef7a77f
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment