chiark / gitweb /
fishdescriptor: bugfix
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 19 Oct 2017 00:34:38 +0000 (01:34 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Thu, 19 Oct 2017 00:34:38 +0000 (01:34 +0100)
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
fishdescriptor/py/fishdescriptor/indonor.py

index 51b5a3d..6c799c0 100644 (file)
@@ -229,7 +229,7 @@ class DonorImplementation():
     def _protocol_read(di):
         input = sys.stdin.readline()
         if input == '': return None
-        input.rstrip('\n')
+        input = input.rstrip('\n')
         sys.stderr.write("#< %s\n" % input)
         return input