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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=86c7e22036c935b3a3da98653db2ee313e46206a;p=python Add forgotten import (PyChecker) --- diff --git a/Lib/posixfile.py b/Lib/posixfile.py index b16b892794..589510d55e 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: