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
207280b9
Commit
207280b9
authored
Feb 20, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
have vmodtool check STRING_LIST position
noté en passant
parent
dc69d1c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
vmodtool.py
lib/libvcc/vmodtool.py
+2
-0
No files found.
lib/libvcc/vmodtool.py
View file @
207280b9
...
...
@@ -361,6 +361,8 @@ class ProtoType(object):
t
=
arg
(
wl
,
names
,
st
.
vcc
.
enums
,
','
)
if
t
.
vt
==
'VOID'
:
err
(
"arguments can not be of type '
%
s'"
%
t
.
vt
,
warn
=
False
)
if
t
.
vt
==
'STRING_LIST'
and
len
(
wl
)
>
1
:
err
(
"'
%
s' must be the last argument"
%
t
.
vt
,
warn
=
False
)
if
t
.
nm
is
None
:
t
.
nm2
=
"arg
%
d"
%
n
else
:
...
...
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