Remove superfluous whitespaces at the end of lines

This commit is contained in:
Christoph Heiss 2017-03-22 19:38:49 +01:00
parent 526695e209
commit e3f6d56d02
3 changed files with 76 additions and 77 deletions

View file

@ -96,8 +96,8 @@ class Subscribe(Route):
class WhoAmI(Route):
def run(self, data, handler):
handler.send({"id" : handler.id_,
"user" : pwd.getpwuid(os.getuid()).pw_name},
handler.send({"id" : handler.id_,
"user" : pwd.getpwuid(os.getuid()).pw_name},
handler.reverse_routes[self])
@ -125,7 +125,7 @@ class Peers(Route):
for channel in channels:
self.subscribe(handler, channel)
# Send on channels and on subscribe
self.send_connected_peers(handler, channels)
self.send_connected_peers(handler, channels)
def send_connected_peers(self, handler, channels):
@ -184,7 +184,7 @@ class Handler(Server):
def ready(self):
if self.debug:
Logging.info("Handler for '%s:%d' ready." % (self.address, self.port))
def closed(self, code, reason):
if self.debug: