]> granicus.if.org Git - python/commitdiff
Add forgotten import (PyChecker)
authorAndrew M. Kuchling <amk@amk.ca>
Mon, 13 Aug 2001 14:47:12 +0000 (14:47 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Mon, 13 Aug 2001 14:47:12 +0000 (14:47 +0000)
Lib/posixfile.py

index b16b892794c3ddd4e70d6bac05567547a32a380b..589510d55edd0133591666abb1e2907fbcad6cc5 100644 (file)
@@ -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: