remove old panda support

This commit is contained in:
David Rose 2004-06-05 01:04:04 +00:00
parent 71058bf910
commit 0a48a2fc44

View File

@ -221,12 +221,8 @@ def getTypeName(typeIndex, scoped=0):
class FFIInterrogateDatabase:
def __init__(self, etcPath = []):
# Temporary try..except for old Panda.
try:
for dir in etcPath:
interrogate_add_search_directory(dir)
except:
pass
self.typeIndexMap = {}
self.environment = FFIEnvironment.FFIEnvironment()
@ -779,13 +775,7 @@ class FFIInterrogateDatabase:
FFIConstants.notify.warning('Importing code library: ' + CModuleName)
exec('import ' + CModuleName)
# Temporary try..except for old Panda.
try:
errorFlag = interrogate_error_flag()
except:
errorFlag = False
if errorFlag:
if interrogate_error_flag():
FFIConstants.notify.error("Error reading interrogate database; can't continue.")
self.updateBindings(CModuleName)