[master] a0f5838 Change this to err so it fails under --strict

Federico G. Schwindt fgsch at lodoss.net
Wed Dec 7 11:10:06 CET 2016


commit a0f58380c786d052e81e5673e03819d820b3f441
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Wed Dec 7 09:04:56 2016 +0000

    Change this to err so it fails under --strict

diff --git a/lib/libvcc/vmodtool.py b/lib/libvcc/vmodtool.py
index 8966c0a..377605b 100755
--- a/lib/libvcc/vmodtool.py
+++ b/lib/libvcc/vmodtool.py
@@ -466,11 +466,8 @@ class s_event(stanza):
 
 	def rstfile(self, fo, man):
 		if len(self.doc) != 0:
-			sys.stderr.write(
-				"NB: Not emitting .RST for $Event %s\n" %
-				self.event_func
-			)
-		return
+			err("Not emitting .RST for $Event %s\n" %
+                            self.event_func)
 
 	def hfile(self, fo):
 		fo.write("#ifdef VCL_MET_MAX\n")



More information about the varnish-commit mailing list