[Pkg-privacy-commits] [obfsproxy] 48/353: PEP 8 formatting

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 13:01:37 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository obfsproxy.

commit b22f07a08264c8c6c44ff0d8c8e8d1fb1c3f2d3c
Author: Brandon Wiley <brandon at blanu.net>
Date:   Wed Aug 29 18:41:21 2012 -0500

    PEP 8 formatting
---
 src/obfsproxy/framework/proxy.py | 5 +++--
 src/obfsproxy/framework/pump.py  | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/obfsproxy/framework/proxy.py b/src/obfsproxy/framework/proxy.py
index 8a7141d..b2fa590 100644
--- a/src/obfsproxy/framework/proxy.py
+++ b/src/obfsproxy/framework/proxy.py
@@ -20,6 +20,7 @@ from obfsproxy.framework.pump import Pump
 
 
 class ProxyHandler:
+
     """
     The ProxyHandler class implements the server-side handling of pluggable transports.
     """
@@ -27,8 +28,8 @@ class ProxyHandler:
     transport = None
 
     def __init__(self, addr, port):
-        self.addr=addr
-        self.port=port
+        self.addr = addr
+        self.port = port
 
     def setTransport(self, transport):
         """ setTransport sets the pluggable transport for this proxy server """
diff --git a/src/obfsproxy/framework/pump.py b/src/obfsproxy/framework/pump.py
index bfbb8bc..a698572 100644
--- a/src/obfsproxy/framework/pump.py
+++ b/src/obfsproxy/framework/pump.py
@@ -59,6 +59,7 @@ class Pump(object):
         output,
         callback,
         ):
+
         logging.error('pumpIn')
         data = (yield input.read_some())
         if data:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/obfsproxy.git



More information about the Pkg-privacy-commits mailing list