From dee1323cd34ed867b16f898f1ea7732af6d235da Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Thu, 5 Aug 2010 16:51:34 +0200 Subject: EOFError can still be raised by array.fromfile() in Python >=2.6.6 and >=2.7.1. --- pym/portage/util/_pty.py | 1 - 1 file changed, 1 deletion(-) (limited to 'pym/portage/util/_pty.py') diff --git a/pym/portage/util/_pty.py b/pym/portage/util/_pty.py index a4910ec70..877430e96 100644 --- a/pym/portage/util/_pty.py +++ b/pym/portage/util/_pty.py @@ -95,7 +95,6 @@ def _test_pty_eof(): buf = array.array('B') try: buf.fromfile(master_file, 1024) - # EOFError was raised in Python <2.6.6 and <2.7.1. except (EOFError, IOError): eof = True -- cgit v1.2.3-1-g7c22