Changeset 387
- Timestamp:
- Mon Dec 17 07:42:32 2007
- Files:
-
- branches/python2.5/iu.py (modified) (diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
branches/python2.5/iu.py
r383 r387 70 70 try: 71 71 st = _os_stat(attempt) 72 except Exception, msg: 73 #print "!!!!!!! _os_stat Exception %s '%s'" % (msg, attempt) 72 except OSError, e: 73 assert e.errno == 2 #[Errno 2] No such file or directory 74 74 else: 75 75 if typ == imp.C_EXTENSION: … … 165 165 #hkey = win32api.RegOpenKeyEx(root, subkey, 0, KEY_ALL_ACCESS) 166 166 hkey = win32api.RegOpenKeyEx(root, subkey, 0, KEY_READ) 167 except Exception, msg: 168 #print "!!!!!!! RegOpenKeyEx Exception", msg 167 except Exception, e: 168 print "FIXME: RegOpenKeyEx Exception", e 169 169 else: 170 170 numsubkeys, numvalues, lastmodified = win32api.RegQueryInfoKey(hkey) … … 229 229 # hence the protection 230 230 owner = klass(path) 231 except Exception, msg: 232 #print "!!!!!!! klass Exception %s, '%s'" % (msg, path) 231 except Exception, e: 232 print "FIXME: klass Exception %s, '%s'" % (e, path) 233 233 else: 234 234 break … … 319 319 try: 320 320 mod = _self_doimport(nm, ctx, fqname) 321 except Exception, msg: 322 #print "!!!!!!! _self_doimport Exception", msg 321 except Exception, e: 322 print "FIXME: _self_doimport Exception", e 323 323 if threaded: 324 324 self._release() … … 364 364 try: 365 365 mod = self.doimport(nm, ctx, ctx+'.'+nm) 366 except Exception, msg: 367 #print "!!!!!!! self.doimport doimport Exception", msg 368 pass 366 except Exception, e: 367 print "FIXME: self.doimport Exception", e 369 368 if threaded: 370 369 self._release()
