[master] dbfb06d Be pythonic

Guillaume Quintard guillaume at varnish-software.com
Mon Jun 13 10:31:07 CEST 2016


commit dbfb06d4cd1e8bf017e8e537993863dca1acfd9b
Author: Guillaume Quintard <guillaume at varnish-software.com>
Date:   Mon Jun 13 10:28:32 2016 +0200

    Be pythonic

diff --git a/lib/libvcc/vmodtool.py b/lib/libvcc/vmodtool.py
index 7b7c056..d4b31ae 100755
--- a/lib/libvcc/vmodtool.py
+++ b/lib/libvcc/vmodtool.py
@@ -685,7 +685,7 @@ class vcc(object):
 		fo.write(a + "\n")
 
 	def rstfile(self, man=False):
-		fn = self.rstdir + "/vmod_" + self.modname
+		fn = join(self.rstdir, "vmod_" + self.modname)
 		if man:
 			fn += ".man"
 		fn += ".rst"



More information about the varnish-commit mailing list