Skip to content

Commit

Permalink
Fix up a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
cpennington committed Jun 23, 2014
1 parent 5b1e0b5 commit f3e1e7e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions opaque_keys/edx/locator.py
Original file line number Diff line number Diff line change
Expand Up @@ -678,9 +678,8 @@ def to_deprecated_son(self, prefix='', tag='i4x'):
"""
Returns a SON object that represents this location
"""
# TODO does this approach makes sense? It preserves the old SON keys
# ('tag', 'org', 'course', 'category', 'name', 'revision')
# but then doesn't really correlate with what the BULocator actually has as KEY_FIELDs
# This preserves the old SON keys ('tag', 'org', 'course', 'category', 'name', 'revision'),
# because that format was used to store data historically in mongo

# adding tag b/c deprecated form used it
son = SON({prefix + 'tag': tag})
Expand Down

0 comments on commit f3e1e7e

Please sign in to comment.