Remove debug FIXME and simplify code

git-svn-id: http://svn.pyinstaller.org/trunk@468 8dd32b29-ccff-0310-8a9a-9233e24343b1
This commit is contained in:
naufraghi
2008-05-21 17:50:13 +00:00
parent 70a142cf8f
commit c0773bbb0d
+6 -11
View File
@@ -321,18 +321,13 @@ class ImportManager:
fqname = nm
if threaded:
self._acquire()
mod = _sys_modules_get(fqname, UNTRIED)
if mod is UNTRIED:
try:
try:
mod = _sys_modules_get(fqname, UNTRIED)
if mod is UNTRIED:
mod = _self_doimport(nm, ctx, fqname)
except Exception, e:
print "FIXME: _self_doimport %r" % e,
print " nm='%s' ctx='%s' fqname='%s'" % (nm, ctx, fqname)
if threaded:
self._release()
raise
if threaded:
self._release()
finally:
if threaded:
self._release()
if mod:
ctx = fqname
else: