Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Refer to the right node when checking attributes
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Dec 18, 2016
1 parent 2420964 commit 4c9eb72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/utils.py
Expand Up @@ -1766,7 +1766,7 @@ def clone_treenode(treenode, parent=None, acceptor=lambda x: True):
node_clone.indent_levels = treenode.indent_levels
node_clone.indent_change_before = treenode.indent_change_before
node_clone.indent_change_after = treenode.indent_change_after
if hasattr(node_clone, 'classification_path'):
if hasattr(treenode, 'classification_path'):
# Copy stuff added by taxonomies_classifier plugin
node_clone.classification_path = treenode.classification_path
node_clone.classification_name = treenode.classification_name
Expand Down

0 comments on commit 4c9eb72

Please sign in to comment.