summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd@luon.net>2007-11-07 13:08:54 +0000
committerSjoerd Simons <sjoerd@luon.net>2007-11-07 13:08:54 +0000
commitfe5e303874e292c8459dc9c8e6c8cbeca2fd0283 (patch)
treef0389a57219d2eca59f305c998519da885df8756 /tests
parent4857316c0a9e48e91ce4c05e3d3ebcf451311b8f (diff)
downloadtelepathy-salut-fe5e303874e292c8459dc9c8e6c8cbeca2fd0283.tar.gz
Don't unnecessarily rstrip data
20071107130854-93b9a-3fb3cea0a38696b9b9e3581c25f2fdc6b0e073a5.gz
Diffstat (limited to 'tests')
-rw-r--r--tests/mesh.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/mesh.py b/tests/mesh.py
index e7575ec5..eb7586f4 100644
--- a/tests/mesh.py
+++ b/tests/mesh.py
@@ -92,8 +92,7 @@ class BaseMeshNode(protocol.ProcessProtocol):
for x in data.split():
self.newNode(x)
- def leftNode(self, data):
- node = data.rstrip()
+ def leftNode(self, node):
self.peers.remove(node)
def __leftNodes(self, data):