Skip to content
This repository has been archived by the owner on Nov 12, 2023. It is now read-only.

Commit

Permalink
paranoia
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Walladge committed Feb 17, 2020
1 parent fec5af9 commit bd77d60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cms/djangoapps/contentstore/views/preview.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,10 @@ def _studio_wrap_xblock(xblock, view, frag, context, display_name_only=False):
root_xblock = context.get('root_xblock')
is_root = root_xblock and xblock.location == root_xblock.location
if xblock:
log.warning("SE2208 _studio_wrap_xblock -> xblock.location = %s", xblock.location)
log.warning("SE2208 _studio_wrap_xblock -> xblock.location = %s", getattr(xblock, 'location', 'NOT FOUND'))
log.warning("SE2208 _studio_wrap_xblock -> root_xblock = %s", root_xblock)
if root_xblock:
log.warning("SE2208 _studio_wrap_xblock -> root_xblock.location = %s", root_xblock.location)
log.warning("SE2208 _studio_wrap_xblock -> root_xblock.location = %s", getattr(root_xblock, 'location', 'NOT FOUND'))
log.warning("SE2208 _studio_wrap_xblock -> is_root = %s", is_root)
is_reorderable = _is_xblock_reorderable(xblock, context)
selected_groups_label = get_visibility_partition_info(xblock)['selected_groups_label']
Expand Down

0 comments on commit bd77d60

Please sign in to comment.