[Pkg-privacy-commits] [obfsproxy] 05/353: Removed trailing spaces

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 13:01:32 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 03d757dd97fe7c87f33e0c79f2a6f35601050317
Author: Brandon Wiley <brandon at blanu.net>
Date:   Fri Jun 29 12:14:01 2012 -0500

    Removed trailing spaces
---
 src/obfsproxy/framework/daemon.py          | 12 ++++++------
 src/obfsproxy/framework/external/client.py |  8 ++++----
 src/obfsproxy/framework/external/server.py |  8 ++++----
 src/obfsproxy/framework/managed/client.py  |  8 ++++----
 src/obfsproxy/framework/managed/server.py  |  8 ++++----
 src/obfsproxy/manager/clientManager.py     |  6 +++---
 src/obfsproxy/manager/serverManager.py     |  4 ++--
 src/obfsproxy/transports/rot13.py          |  2 +-
 8 files changed, 28 insertions(+), 28 deletions(-)

diff --git a/src/obfsproxy/framework/daemon.py b/src/obfsproxy/framework/daemon.py
index cc55605..a82f6d4 100644
--- a/src/obfsproxy/framework/daemon.py
+++ b/src/obfsproxy/framework/daemon.py
@@ -20,26 +20,26 @@ from pyptlib.framework.socks import *
 class Daemon:
   config=None
   handler=None
-  
+
   supportedTransportVersion='1'
   supportedTransport='dummy'
 
   def __init__(self, configManager, handler):
     self.config=configManager
     self.handler=handler
-    
+
     if self.config.checkManagedTransportVersion(self.supportedTransportVersion):
       self.config.writeVersion(self.supportedTransportVersion)
     else:
       self.config.writeVersionError()
       raise UnsupportedManagedTransportVersionException()
-        
+
     if not self.config.checkTransportEnabled(self.supportedTransport):
       raise NoSupportedTransportsException()
-  
+
   def run(self):
     eventloop.run()
-    
+
 class UnsupportedManagedTransportVersionException(Exception):
   pass
 
@@ -49,4 +49,4 @@ class NoSupportedTransportsException(Exception):
 class TransportLaunchException(Exception):
   def __init__(self, message):
     self.message=message
-  
\ No newline at end of file
+
diff --git a/src/obfsproxy/framework/external/client.py b/src/obfsproxy/framework/external/client.py
index e60cd63..8326ceb 100755
--- a/src/obfsproxy/framework/external/client.py
+++ b/src/obfsproxy/framework/external/client.py
@@ -46,18 +46,18 @@ class ManagedClient(Daemon):
       self.config.writeMethodError(self.supportedTransport, e.message)
 
     self.config.writeMethodEnd()
-    
+
     self.run()
-      
+
   def launchClient(self, name, port):
     if name!=self.supportedTransport:
       raise TransportLaunchException('Tried to launch unsupported transport %s' % (name))
 
     client=DummyClient()
     self.handler.setTransport(client)
-    add_service(Service(self.handler, port=port))    
+    add_service(Service(self.handler, port=port))
 
 if __name__=='__main__':
   sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0)
   server=ManagedClient()
-  
\ No newline at end of file
+
diff --git a/src/obfsproxy/framework/external/server.py b/src/obfsproxy/framework/external/server.py
index 08b2e09..d397050 100755
--- a/src/obfsproxy/framework/external/server.py
+++ b/src/obfsproxy/framework/external/server.py
@@ -45,18 +45,18 @@ class ManagedServer(Daemon):
       self.config.writeMethodError(self.supportedTransport, e.message)
 
     self.config.writeMethodEnd()
-    
+
     self.run()
-    
+
   def launchServer(self, name, port):
     if name!=self.supportedTransport:
       raise TransportLaunchException('Tried to launch unsupported transport %s' % (name))
 
     client=DummyServer()
     self.handler.setTransport(client)
-    add_service(Service(self.handler, port=port))   
+    add_service(Service(self.handler, port=port))
 
 if __name__=='__main__':
   sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0)
   server=ManagedServer()
-  
\ No newline at end of file
+
diff --git a/src/obfsproxy/framework/managed/client.py b/src/obfsproxy/framework/managed/client.py
index e60cd63..8326ceb 100755
--- a/src/obfsproxy/framework/managed/client.py
+++ b/src/obfsproxy/framework/managed/client.py
@@ -46,18 +46,18 @@ class ManagedClient(Daemon):
       self.config.writeMethodError(self.supportedTransport, e.message)
 
     self.config.writeMethodEnd()
-    
+
     self.run()
-      
+
   def launchClient(self, name, port):
     if name!=self.supportedTransport:
       raise TransportLaunchException('Tried to launch unsupported transport %s' % (name))
 
     client=DummyClient()
     self.handler.setTransport(client)
-    add_service(Service(self.handler, port=port))    
+    add_service(Service(self.handler, port=port))
 
 if __name__=='__main__':
   sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0)
   server=ManagedClient()
-  
\ No newline at end of file
+
diff --git a/src/obfsproxy/framework/managed/server.py b/src/obfsproxy/framework/managed/server.py
index 08b2e09..d397050 100755
--- a/src/obfsproxy/framework/managed/server.py
+++ b/src/obfsproxy/framework/managed/server.py
@@ -45,18 +45,18 @@ class ManagedServer(Daemon):
       self.config.writeMethodError(self.supportedTransport, e.message)
 
     self.config.writeMethodEnd()
-    
+
     self.run()
-    
+
   def launchServer(self, name, port):
     if name!=self.supportedTransport:
       raise TransportLaunchException('Tried to launch unsupported transport %s' % (name))
 
     client=DummyServer()
     self.handler.setTransport(client)
-    add_service(Service(self.handler, port=port))   
+    add_service(Service(self.handler, port=port))
 
 if __name__=='__main__':
   sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0)
   server=ManagedServer()
-  
\ No newline at end of file
+
diff --git a/src/obfsproxy/manager/clientManager.py b/src/obfsproxy/manager/clientManager.py
index 8ce6a0c..2846ab1 100644
--- a/src/obfsproxy/manager/clientManager.py
+++ b/src/obfsproxy/manager/clientManager.py
@@ -5,10 +5,10 @@ from pyptlib.manager.manager import Manager
 class ClientManager(Manager):
   def __init__(self):
     Manager.__init__(self)
-  
+
     os.environ['TOR_PT_CLIENT_TRANSPORTS']='dummy'
-    
+
 if __name__=='__main__':
   manager=ClientManager()
   manager.launch('src/pyptlib/framework/client.py')
-  
\ No newline at end of file
+
diff --git a/src/obfsproxy/manager/serverManager.py b/src/obfsproxy/manager/serverManager.py
index a287ea7..a82b5b5 100644
--- a/src/obfsproxy/manager/serverManager.py
+++ b/src/obfsproxy/manager/serverManager.py
@@ -5,12 +5,12 @@ from pyptlib.manager.manager import Manager
 class ServerManager(Manager):
   def __init__(self):
     Manager.__init__(self)
-  
+
     os.environ['TOR_PT_EXTENDED_SERVER_PORT']='127.0.0.1:22211'
     os.environ['TOR_PT_ORPORT']='127.0.0.1:43210'
     os.environ['TOR_PT_SERVER_BINDADDR']='dummy-127.0.0.1:46466'
     os.environ['TOR_PT_SERVER_TRANSPORTS']='dummy'
-    
+
 if __name__=='__main__':
   manager=ServerManager()
   manager.launch('src/pyptlib/framework/server.py')
diff --git a/src/obfsproxy/transports/rot13.py b/src/obfsproxy/transports/rot13.py
index a050b8e..afe2256 100644
--- a/src/obfsproxy/transports/rot13.py
+++ b/src/obfsproxy/transports/rot13.py
@@ -19,4 +19,4 @@ class Rot13Server:
     return rot13(data)
 
   def decode(self, data):
-    return rot13(data)
\ No newline at end of file
+    return rot13(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