[tor-commits] [stem/master] Conforming to E222 (multiple spaces after operator)

atagar at torproject.org atagar at torproject.org
Mon Jan 7 09:08:00 UTC 2013


commit 64113e5a505d8c7b57933ab2d1e3c0a4d6feac6d
Author: Damian Johnson <atagar at torproject.org>
Date:   Sun Jan 6 20:14:40 2013 -0800

    Conforming to E222 (multiple spaces after operator)
    
    Extra space around an assignment. Oops.
---
 test/check_whitespace.py |    2 +-
 test/mocking.py          |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/check_whitespace.py b/test/check_whitespace.py
index 7bb1437..b627b6c 100644
--- a/test/check_whitespace.py
+++ b/test/check_whitespace.py
@@ -47,7 +47,7 @@ def pep8_issues(base_path = DEFAULT_TARGET):
   # We're gonna trim these down by cateogry but include the pep8 checks to
   # prevent regression.
   
-  ignored_issues = "E111,E121,W293,E501,E302,E701,E251,E261,W391,E127,E241,E128,E226,E231,E202,E201,E203,E124,E211,E222"
+  ignored_issues = "E111,E121,W293,E501,E302,E701,E251,E261,W391,E127,E241,E128,E226,E231,E202,E201,E203,E124,E211"
   
   issues = {}
   pep8_output = system.call("pep8 --ignore %s %s" % (ignored_issues, base_path))
diff --git a/test/mocking.py b/test/mocking.py
index 693d977..e17513b 100644
--- a/test/mocking.py
+++ b/test/mocking.py
@@ -859,7 +859,7 @@ def sign_descriptor_content(desc_content):
     public_key_string = base64.b64encode(seq_as_string)
     
     # split public key into lines 64 characters long
-    public_key_string =  public_key_string [:64] + "\n" + public_key_string[64:128] + "\n" + public_key_string[128:]
+    public_key_string = public_key_string [:64] + "\n" + public_key_string[64:128] + "\n" + public_key_string[128:]
     
     # generate the new signing key string
     





More information about the tor-commits mailing list