[Git][NTPsec/ntpsec][master] PEP8 fixes

Matt Selsky gitlab at mg.gitlab.com
Mon Feb 25 01:51:21 UTC 2019


Matt Selsky pushed to branch master at NTPsec / ntpsec


Commits:
733a4e6a by Matt Selsky at 2019-02-25T01:39:52Z
PEP8 fixes

E302 expected 2 blank lines, found 1
E111 indentation is not a multiple of four

- - - - -


1 changed file:

- wafhelpers/bin_test.py


Changes:

=====================================
wafhelpers/bin_test.py
=====================================
@@ -36,13 +36,16 @@ cmd_map3 = {    # Need curses
 
 test_logs = []
 
+
 def addLog(color, text):
     test_logs.append((color, text))
 
+
 def bin_test_summary(ctx):
     for i in test_logs:
         waflib.Logs.pprint(i[0], i[1])
 
+
 def run(cmd, reg, pythonic):
     """Run an individual non-python test."""
     check = False
@@ -85,8 +88,8 @@ def cmd_bin_test(ctx, config):
     fails = 0
 
     if ctx.env['PYTHON_CURSES']:
-      for cmd in cmd_map3:
-        cmd_map2[cmd] = cmd_map3[cmd]
+        for cmd in cmd_map3:
+            cmd_map2[cmd] = cmd_map3[cmd]
 
     for cmd in sorted(cmd_map):
         if not run(cmd, cmd_map[cmd], False):



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/733a4e6a4a42efec9d8f937215dfa5dc071ab522

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/733a4e6a4a42efec9d8f937215dfa5dc071ab522
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20190225/0a5ad82f/attachment-0001.html>


More information about the vc mailing list