aboutsummaryrefslogtreecommitdiff
path: root/misc/py-pexpect
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2014-04-01 11:31:54 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2014-04-01 11:31:54 +0000
commit31a3bf7cad6d38086bd8f38d7c11af43a992f607 (patch)
treefb3930079a130ad6d100153888696d6f72f89fc5 /misc/py-pexpect
parentd6da3e66a0330924d85a4405a7001cb257a070b3 (diff)
downloadports-31a3bf7cad6d38086bd8f38d7c11af43a992f607.tar.gz
ports-31a3bf7cad6d38086bd8f38d7c11af43a992f607.zip
Notes
Diffstat (limited to 'misc/py-pexpect')
-rw-r--r--misc/py-pexpect/files/patch-pexpect-__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/py-pexpect/files/patch-pexpect-__init__.py b/misc/py-pexpect/files/patch-pexpect-__init__.py
index 425326bbfac0..6b855a9f2430 100644
--- a/misc/py-pexpect/files/patch-pexpect-__init__.py
+++ b/misc/py-pexpect/files/patch-pexpect-__init__.py
@@ -8,7 +8,7 @@
- if TIOCSWINSZ == 2148037735:
- # Same bits, but with sign.
- TIOCSWINSZ = -2146929561
-+ TIOCSWINSZ = getattr(termios, 'TIOCSWINSZ', 2148037735L)
++ TIOCSWINSZ = getattr(termios, 'TIOCSWINSZ', 2148037735)
# Note, assume ws_xpixel and ws_ypixel are zero.
s = struct.pack('HHHH', rows, cols, 0, 0)
fcntl.ioctl(self.fileno(), TIOCSWINSZ, s)