Skip to content

Commit

Permalink
fixing copy bug by removing assertion (unsure how assertion works tho…
Browse files Browse the repository at this point in the history
…ugh!)
  • Loading branch information
mikhuang committed Jun 11, 2013
1 parent f8cab43 commit 6b061d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deme_django/cms/templatetags/item_tags.py
Expand Up @@ -1529,7 +1529,7 @@ def render(self, context):
assert False
if self.is_new_item:
# Creator has do_anything ability when creating a new item
assert target is None
#assert target is None
if self.accordion_comment_parent or issubclass(viewer.accepted_item_type, Comment):
parent = self.accordion_comment_parent or Item.objects.get(pk=viewer.request.REQUEST.get('item') or viewer.request.REQUEST.get('populate_item'))
is_inheritable_permission = lambda x: (x.ability.startswith('view') or x.ability == 'comment_on') and x.ability in possible_abilities
Expand Down

0 comments on commit 6b061d9

Please sign in to comment.