Changeset 1122 for ZMS/trunk/_objchildren.py
- Timestamp:
- 21.07.2010 22:19:32 (22 months ago)
- File:
-
- 1 edited
-
ZMS/trunk/_objchildren.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ZMS/trunk/_objchildren.py
r750 r1122 29 29 # Product Imports. 30 30 import _blobfields 31 import _fileutil 31 32 import _globals 32 33 … … 105 106 if mandatory: 106 107 if len(ids) == 0: 107 if obj_attr['type'] == '*' and type( obj_attr['keys']) is list and len( obj_attr['keys']) > 0: 108 obj_attr['type'] = obj_attr['keys'][0] 109 self.initObjChild(obj_attr['id'],0,obj_attr['type'],REQUEST) 108 default = obj_attr.get('custom') 109 if default: 110 _fileutil.import_zexp(self,default,obj_attr['id'],obj_attr['id']) 111 else: 112 if obj_attr['type'] == '*' and type( obj_attr['keys']) is list and len( obj_attr['keys']) > 0: 113 obj_attr['type'] = obj_attr['keys'][0] 114 self.initObjChild(obj_attr['id'],0,obj_attr['type'],REQUEST) 110 115 repetitive = obj_attr.get('repetitive',0)==1 111 116 if repetitive:
Note: See TracChangeset
for help on using the changeset viewer.
