summaryrefslogtreecommitdiff
path: root/paramiko/pipe.py
diff options
context:
space:
mode:
authorScott Maxwell <scott@codecobblers.com>2013-11-19 10:09:08 -0800
committerScott Maxwell <scott@codecobblers.com>2013-11-19 10:09:08 -0800
commit6d75c75e643c3a109075e86e72b08221c76088cc (patch)
tree95dd49cbe6d9d194f337a8ae5310800a2f103430 /paramiko/pipe.py
parent981f768a62402a5aaa9f9f0ddfb4e14faa0d4442 (diff)
downloadparamiko-6d75c75e643c3a109075e86e72b08221c76088cc.tar.gz
Remove byte conversions and unhexlify calls that we only needed for Py2.5 support and use the `b` byte string marker instead
Diffstat (limited to 'paramiko/pipe.py')
-rw-r--r--paramiko/pipe.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/paramiko/pipe.py b/paramiko/pipe.py
index 4c965465..619b807e 100644
--- a/paramiko/pipe.py
+++ b/paramiko/pipe.py
@@ -64,7 +64,7 @@ class PosixPipe (object):
if self._set or self._closed:
return
self._set = True
- os.write(self._wfd, b('*'))
+ os.write(self._wfd, b'*')
def set_forever (self):
self._forever = True
@@ -110,7 +110,7 @@ class WindowsPipe (object):
if self._set or self._closed:
return
self._set = True
- self._wsock.send(b('*'))
+ self._wsock.send(b'*')
def set_forever (self):
self._forever = True