mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
remove old panda support
This commit is contained in:
parent
71058bf910
commit
0a48a2fc44
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user