[Git][NTPsec/ntpsec][master] Convert tabs to spaces for python3 compatibility

Matt Selsky gitlab at mg.gitlab.com
Tue Feb 14 14:41:44 UTC 2017


Matt Selsky pushed to branch master at NTPsec / ntpsec


Commits:
c4477173 by Matt Selsky at 2017-02-14T09:40:30-05:00
Convert tabs to spaces for python3 compatibility

Fixes GitLab issue #245

- - - - -


1 changed file:

- wafhelpers/configure.py


Changes:

=====================================
wafhelpers/configure.py
=====================================
--- a/wafhelpers/configure.py
+++ b/wafhelpers/configure.py
@@ -233,11 +233,11 @@ def cmd_configure(ctx, config):
                     "-Wl,-z,now",    # hardening, no deferred symbol resolution
                     "-Wl,-z,relro",  # hardening, marks some section read only,
                     ]
-	    if ctx.options.disable_debug:
-		# not debugging
-		ctx.env.LDFLAGS += [
-			"-Wl,--strip-all",    # Strip binaries
-			]
+        if ctx.options.disable_debug:
+            # not debugging
+            ctx.env.LDFLAGS += [
+                "-Wl,--strip-all",    # Strip binaries
+        ]
     else:
         # -O1 will turn on -D_FORTIFY_SOURCE=2 for us
         ctx.env.CFLAGS += [
@@ -251,7 +251,7 @@ def cmd_configure(ctx, config):
                 "-Wl,-z,now",      # hardening, no deferred symbol resolution
                 "-Wl,-z,relro",    # hardening, marks some section read only,
                 ]
-	if ctx.options.disable_debug:
+        if ctx.options.disable_debug:
             # not debugging
             ctx.env.LDFLAGS += [
                     "-Wl,-z,strip-all",    # Strip binaries



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/c4477173fd613fdbe474be3676ebc4646c6c077e
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170214/fb9ba967/attachment.html>


More information about the vc mailing list