Skip to content

Commit

Permalink
don't need config ref in build_node_tree
Browse files Browse the repository at this point in the history
  • Loading branch information
colinta committed Jan 22, 2012
1 parent bd19ad6 commit ea95c56
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions processor.py
Expand Up @@ -54,7 +54,7 @@ def check_for_front_matter(source_file):
return {}


def build_node_tree(parent_node, config, source_path, target_path):
def build_node_tree(parent_node, source_path, target_path):
# don't modify parent's node_config
node_config = parent_node.config_copy()

Expand Down Expand Up @@ -181,7 +181,7 @@ def root_processor(config, deploy_path, target_path):

node = RootFolderNode(config, deploy_path, target_path)

build_node_tree(node, config, deploy_path, target_path)
build_node_tree(node, deploy_path, target_path)
return (node, )


Expand All @@ -190,7 +190,7 @@ def folder_processor(config, source_path, target_path):

target_path = os.path.join(target_path, node.target_name)
if source_path and os.path.isdir(source_path):
build_node_tree(node, config, source_path, target_path)
build_node_tree(node, source_path, target_path)
return (node, )


Expand Down

0 comments on commit ea95c56

Please sign in to comment.