[Pkg-privacy-commits] [obfsproxy] 46/353: Fixed undefined variable names

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 30049629183cfdef7909bf2118c657271dec2098
Author: Brandon Wiley <brandon at blanu.net>
Date:   Wed Aug 29 18:23:12 2012 -0500

    Fixed undefined variable names
---
 src/obfsproxy/framework/circuit.py | 2 +-
 src/obfsproxy/framework/pump.py    | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/obfsproxy/framework/circuit.py b/src/obfsproxy/framework/circuit.py
index 73ab1d1..ccd6f5d 100644
--- a/src/obfsproxy/framework/circuit.py
+++ b/src/obfsproxy/framework/circuit.py
@@ -83,7 +83,7 @@ class Circuit(object):
             self.downstream = downstream
         else:
             self.downstream = Connection()
-        if remove:
+        if upstream:
             self.upstream = upstream
         else:
             self.upstream = Connection()
diff --git a/src/obfsproxy/framework/pump.py b/src/obfsproxy/framework/pump.py
index b849063..bfbb8bc 100644
--- a/src/obfsproxy/framework/pump.py
+++ b/src/obfsproxy/framework/pump.py
@@ -97,7 +97,7 @@ class Pump(object):
         logging.error('pump local')
         while True:
             yield self.pumpIn(self.dowstream, self.circuit.dowstream,
-                              self.transport.downstreamReceived)
+                              self.transport.receivedDownstream)
             yield self.drain()
 
     @_o
@@ -105,7 +105,7 @@ class Pump(object):
         logging.error('pump remote')
         while True:
             yield self.pumpIn(self.upstream, self.circuit.upstream,
-                              self.transport.upstreamReceived)
+                              self.transport.receivedUpstream)
             yield self.drain()
 
 

-- 
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