diff options
Diffstat (limited to 'sshuttle/client.py')
-rw-r--r-- | sshuttle/client.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sshuttle/client.py b/sshuttle/client.py index efdaae1..9a0f15b 100644 --- a/sshuttle/client.py +++ b/sshuttle/client.py @@ -228,12 +228,7 @@ class FirewallClient: pass self.argv = argv s1.close() - if sys.version_info < (3, 0): - # python 2.7 - self.pfile = s2.makefile('wb+') - else: - # python 3.5 - self.pfile = s2.makefile('rwb') + self.pfile = s2.makefile('rwb') if e: log('Spawning firewall manager: %r\n' % self.argv) raise Fatal(e) |