Skip to content
Permalink
Browse files
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 4c9eb727eab3f348e9005120a9ed8db3502dcf4f
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/utils.py
@@ -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

0 comments on commit 4c9eb72

Please sign in to comment.