[Git][NTPsec/ntpsec][master] PEP8: W291 trailing whitespace

Matt Selsky gitlab at mg.gitlab.com
Fri Oct 20 05:57:03 UTC 2017


Matt Selsky pushed to branch master at NTPsec / ntpsec


Commits:
43852068 by Matt Selsky at 2017-10-20T01:50:49-04:00
PEP8: W291 trailing whitespace

- - - - -


2 changed files:

- ntpclients/ntpmon
- tests/pylib/test_statfiles.py


Changes:

=====================================
ntpclients/ntpmon
=====================================
--- a/ntpclients/ntpmon
+++ b/ntpclients/ntpmon
@@ -315,7 +315,7 @@ if __name__ == '__main__':
                                 if e.errorcode == ntp.control.CERR_BADASSOC:
                                     # Probable race condition due to pool
                                     # dropping an associaton during refresh;
-                                    # ignore. (GitLab issue #374.) 
+                                    # ignore. (GitLab issue #374.)
                                     break
                                 raise Fatal(e.message + "\n")
                             except IOError as e:


=====================================
tests/pylib/test_statfiles.py
=====================================
--- a/tests/pylib/test_statfiles.py
+++ b/tests/pylib/test_statfiles.py
@@ -465,7 +465,7 @@ class TestNTPStats(unittest.TestCase):
             ntp.statfiles.os = fakeosmod
             TDP = self.target.DefaultPeriod
             faketimemod.time_returns = [TDP * 2]
-            fakeosmod.path.isdir_returns = [True] 
+            fakeosmod.path.isdir_returns = [True]
             TestNTPStats.load_stem_returns = [[]] * 6
             TestNTPStats.process_stem_returns = [[]] * 6
             cls = self.target("/foo/bar")
@@ -516,7 +516,7 @@ class TestNTPStats(unittest.TestCase):
             ntp.statfiles.os = fakeosmod
             TDP = self.target.DefaultPeriod
             faketimemod.time_returns = [TDP * 2]
-            fakeosmod.path.isdir_returns = [True] 
+            fakeosmod.path.isdir_returns = [True]
             TestNTPStats.load_stem_returns = [[]] * 6
             TestNTPStats.process_stem_returns = [[]] * 6
             cls = self.target("/foo/bar")
@@ -569,7 +569,7 @@ class TestNTPStats(unittest.TestCase):
             ntp.statfiles.os = fakeosmod
             TDP = self.target.DefaultPeriod
             faketimemod.time_returns = [TDP * 2]
-            fakeosmod.path.isdir_returns = [True] 
+            fakeosmod.path.isdir_returns = [True]
             TestNTPStats.load_stem_returns = [[]] * 6
             TestNTPStats.process_stem_returns = [[]] * 6
             cls = self.target("/foo/bar")



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/4385206889e8f521c123339fc2f05db307d8a79f

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/4385206889e8f521c123339fc2f05db307d8a79f
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/20171020/b3afd9ca/attachment.html>


More information about the vc mailing list