From: Andrew M. Kuchling Date: Mon, 13 Aug 2001 14:47:12 +0000 (+0000) Subject: Add forgotten import (PyChecker) X-Git-Tag: v2.2a3~598 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=86c7e22036c935b3a3da98653db2ee313e46206a;p=thirdparty%2FPython%2Fcpython.git Add forgotten import (PyChecker) --- diff --git a/Lib/posixfile.py b/Lib/posixfile.py index b16b892794c3..589510d55edd 100644 --- a/Lib/posixfile.py +++ b/Lib/posixfile.py @@ -107,7 +107,7 @@ class _posixfile_: return posix.fdopen(fd, self._file_.mode) def flags(self, *which): - import fcntl + import fcntl, os if which: if len(which) > 1: