[master] 4a3e03d98 Get rid of a bothersome trailing '.'
Poul-Henning Kamp
phk at FreeBSD.org
Wed May 29 09:54:11 UTC 2019
commit 4a3e03d98d16944733d14cdf668cd4ae09bf7fd8
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Wed May 29 08:01:45 2019 +0000
Get rid of a bothersome trailing '.'
diff --git a/lib/libvcc/generate.py b/lib/libvcc/generate.py
index 7e7723ed4..892dfff5b 100755
--- a/lib/libvcc/generate.py
+++ b/lib/libvcc/generate.py
@@ -249,8 +249,8 @@ def parse_var(ln):
l1 = ln.pop(0).split("``")
assert len(l1) in (1, 3)
vn = l1[0].strip()
- if vn[-1] == '*':
- vn = vn[:-1]
+ if vn[-2:] == '.*':
+ vn = vn[:-2]
if len(l1) == 3:
vlo, vhi = parse_vcl(l1[1])
else:
More information about the varnish-commit
mailing list