Changeset 62
- Timestamp:
- 12/19/05 19:09:11 (3 years ago)
- Files:
-
- branches/commithook (deleted)
- branches/timcommithook/pyramid/flatteners.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/timcommithook/pyramid/flatteners.py
r61 r62 194 194 self.original = copy.deepcopy(parentdata) 195 195 196 197 196 def getParentData(self,ctx,dir,name): 198 197 ''' get the parents data for this .yml fie (or set it as an empty fragment if not available) … … 223 222 } ) 224 223 # set this fragment on the context with a key of the yaml file name 225 ctx.data.setdefault(str(ctx.path),{})[name] = node 224 if not ctx.partialbuild: 225 ctx.data.setdefault(str(ctx.path),{})[name] = node 226 226 # merge the parentdata and globals and render the item 227 227 globals = node.globals … … 229 229 data = dictutils.merge(node.globals.copy(),locals,partialbuild=ctx.partialbuild) 230 230 return data 231 231 232 232 233
