summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac/lib-scriptpackages/Finder/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/plat-mac/lib-scriptpackages/Finder/__init__.py')
-rw-r--r--Lib/plat-mac/lib-scriptpackages/Finder/__init__.py17
1 files changed, 10 insertions, 7 deletions
diff --git a/Lib/plat-mac/lib-scriptpackages/Finder/__init__.py b/Lib/plat-mac/lib-scriptpackages/Finder/__init__.py
index 8ea742f..86d81dd 100644
--- a/Lib/plat-mac/lib-scriptpackages/Finder/__init__.py
+++ b/Lib/plat-mac/lib-scriptpackages/Finder/__init__.py
@@ -1,5 +1,5 @@
"""
-Package generated from /Volumes/Sap/System Folder/Finder
+Package generated from /Volumes/Moes/Systeemmap/Finder
Resource aete resid 0
"""
import aetools
@@ -58,15 +58,18 @@ from Process_classes import *
from Type_Definitions import *
from Enumerations import *
from Obsolete_terms import *
+
def getbaseclasses(v):
- if hasattr(v, '_superclassnames') and not hasattr(v, '_propdict'):
+ if not getattr(v, '_propdict', None):
v._propdict = {}
v._elemdict = {}
- for superclass in v._superclassnames:
- v._propdict.update(getattr(eval(superclass), '_privpropdict', {}))
- v._elemdict.update(getattr(eval(superclass), '_privelemdict', {}))
- v._propdict.update(v._privpropdict)
- v._elemdict.update(v._privelemdict)
+ for superclassname in getattr(v, '_superclassnames', []):
+ superclass = eval(superclassname)
+ getbaseclasses(superclass)
+ v._propdict.update(getattr(superclass, '_propdict', {}))
+ v._elemdict.update(getattr(superclass, '_elemdict', {}))
+ v._propdict.update(getattr(v, '_privpropdict', {}))
+ v._elemdict.update(getattr(v, '_privelemdict', {}))
import StdSuites