Move inheritance logic out into a separate file in the modulestore

This commit is contained in:
Calen Pennington
2012-12-21 13:15:37 -05:00
parent 7f8b79694c
commit 84cb0ce99b
9 changed files with 68 additions and 100 deletions

View File

@@ -51,7 +51,7 @@ def node_metadata(node):
'start', 'due', 'graded', 'hide_from_toc',
'ispublic', 'xqa_key')
orig = node.own_metadata
orig = own_metadata(node)
d = {k: orig[k] for k in to_export if k in orig}
return d