[6.0] 8b34d1372 Fix showing STRANDS as STRING in the docs.
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Wed Jul 3 14:40:10 UTC 2019
commit 8b34d1372a564aeaa7d3af2a2d23db26787a45a0
Author: Geoff Simmons <geoff at uplex.de>
Date: Fri Aug 17 07:13:22 2018 +0200
Fix showing STRANDS as STRING in the docs.
diff --git a/lib/libvcc/vmodtool.py b/lib/libvcc/vmodtool.py
index 92863055f..32d4e6f2e 100755
--- a/lib/libvcc/vmodtool.py
+++ b/lib/libvcc/vmodtool.py
@@ -246,14 +246,14 @@ class CType(object):
assert w == ","
def vcl(self):
- if self.vt in ("STRING_LIST", "STRAND"):
+ if self.vt in ("STRING_LIST", "STRANDS"):
return "STRING"
if self.spec is None:
return self.vt
return self.vt + " {" + ", ".join(self.spec) + "}"
def synopsis(self):
- if self.vt in ("STRING_LIST", "STRAND"):
+ if self.vt in ("STRING_LIST", "STRANDS"):
return "STRING"
return self.vt
More information about the varnish-commit
mailing list