[master] ef2b7f7 consistent use of tabs and spaces for python3

Nils Goroll nils.goroll at uplex.de
Mon Mar 12 14:28:10 UTC 2018


commit ef2b7f74c3d41ee3b4fdd52d46e1d8f08fa81748
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Mon Mar 12 15:22:41 2018 +0100

    consistent use of tabs and spaces for python3

diff --git a/lib/libvcc/vmodtool.py b/lib/libvcc/vmodtool.py
index 569758b..b6495c5 100755
--- a/lib/libvcc/vmodtool.py
+++ b/lib/libvcc/vmodtool.py
@@ -422,8 +422,8 @@ class prototype(object):
                 t = i.vcl()
             if t in privs:
                 continue
-	    if i.nm is not None:
-		t += " " + i.nm
+            if i.nm is not None:
+                t += " " + i.nm
             if not short:
                 if i.defval is not None:
                     t += "=" + i.defval
@@ -602,7 +602,7 @@ class s_module(stanza):
         fo.write("\n")
         fo.write(":Manual section: " + self.vcc.mansection + "\n")
 
-	if self.vcc.auto_synopsis:
+        if self.vcc.auto_synopsis:
             fo.write("\n")
             write_rst_hdr(fo, "SYNOPSIS", "=")
             fo.write("\n")
@@ -610,8 +610,8 @@ class s_module(stanza):
             fo.write('   import %s [from "path"] ;\n' % self.vcc.modname)
             fo.write("   \n")
             for c in self.vcc.contents:
-		c.synopsis(fo, man)
-	    fo.write("\n")
+                c.synopsis(fo, man)
+            fo.write("\n")
 
     def rsttail(self, fo, man):
 


More information about the varnish-commit mailing list