Fix errors found by pychecker

This commit is contained in:
Neal Norwitz 2006-06-11 08:35:14 +00:00
parent e588c2ba97
commit 6aaccc6b55
5 changed files with 11 additions and 8 deletions

View file

@ -1,5 +1,4 @@
import sys, os
import ctypes
# find_library(name) returns the pathname of a library, or None.
if os.name == "nt":
@ -41,7 +40,7 @@ if os.name == "posix" and sys.platform == "darwin":
elif os.name == "posix":
# Andreas Degert's find functions, using gcc, /sbin/ldconfig, objdump
import re, tempfile
import re, tempfile, errno
def _findLib_gcc(name):
expr = '[^\(\)\s]*lib%s\.[^\(\)\s]*' % name