[Git][NTPsec/ntpsec][master] 2 commits: PEP8: E302 expected 2 blank lines, found 1

Matt Selsky gitlab at mg.gitlab.com
Thu Jan 5 07:18:59 UTC 2017


Matt Selsky pushed to branch master at NTPsec / ntpsec


Commits:
b1a73bbd by Matt Selsky at 2017-01-05T02:16:25-05:00
PEP8: E302 expected 2 blank lines, found 1

- - - - -
a9db5060 by Matt Selsky at 2017-01-05T02:18:01-05:00
PEP8: E203 whitespace before ','

- - - - -


2 changed files:

- ntpd/wscript
- pylib/wscript


Changes:

=====================================
ntpd/wscript
=====================================
--- a/ntpd/wscript
+++ b/ntpd/wscript
@@ -23,7 +23,7 @@ def build(ctx):
 		ctx(
 		    cwd         = srcnode,
 		    rule        = 'VCS_EXTRA=`cat ${SRC[0]}` wafhelpers/autorevision.sh -o ${TGT[1].abspath()} -e VERSION -t h >${TGT[0].abspath()}',
-		    source      = ["../VERSION", '../wafhelpers/autorevision.sh'] ,
+		    source      = ["../VERSION", '../wafhelpers/autorevision.sh'],
 		    target      = [target3, target4],
 		)
 


=====================================
pylib/wscript
=====================================
--- a/pylib/wscript
+++ b/pylib/wscript
@@ -1,11 +1,13 @@
 def options(opt):
     opt.load('python')
 
+
 def configure(conf):
     conf.load('python')
     conf.check_python_version((2, 6, 0))
     conf.check_python_headers()
 
+
 def build(ctx):
     srcnode = ctx.srcnode.make_node('pylib')
     #bldnode = ctx.bldnode.make_node('pylib')
@@ -34,7 +36,7 @@ def build(ctx):
 	before      = ['pyc', 'pyo'],
 	cwd         = srcnode,
 	rule        = 'VCS_EXTRA=`cat ${SRC[0]}` ../wafhelpers/autorevision.sh -o ${TGT[1].abspath()} -e VERSION -t python >${TGT[0].name}',
-	source      = ["../VERSION", '../wafhelpers/autorevision.sh'] ,
+	source      = ["../VERSION", '../wafhelpers/autorevision.sh'],
 	target      = [target3, target4],
 	)
 



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/compare/563035874aea5da443b00e4babec32bcff2cb0e3...a9db5060ea43dbe747d29070ceecc86f4fab640d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170105/d57338c7/attachment.html>


More information about the vc mailing list