Changeset 62

Show
Ignore:
Timestamp:
12/19/05 19:09:11 (3 years ago)
Author:
tim
Message:

removed old branch

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/timcommithook/pyramid/flatteners.py

    r61 r62  
    194194            self.original = copy.deepcopy(parentdata) 
    195195 
    196  
    197196def getParentData(self,ctx,dir,name): 
    198197    ''' get the parents data for this .yml fie (or set it as an empty fragment if not available) 
     
    223222        } ) 
    224223    # 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 
    226226    # merge the parentdata and globals and render the item 
    227227    globals = node.globals 
     
    229229    data = dictutils.merge(node.globals.copy(),locals,partialbuild=ctx.partialbuild) 
    230230    return data 
     231 
    231232 
    232233