def get_css_config(tag_name):
  if not getattr(settings, 'COMPILE_MEDIA_CSS'):
    raise Exception('settings.COMPILE_MEDIA_CSS is not defined')
  if not settings.COMPILE_MEDIA_CSS in tag_name:
    raise Exception('settings.COMPILE_MEDIA_CSS["%s"] is not defined' %
                    tag_name)
  return _merge_css_config(copy.deepcopy(COMPILE_CSS), 
                           settings.COMPILE_MEDIA_CSS[tag_name])
dataset/ETHPy150Open IanLewis/kay/kay/ext/media_compressor/media_compiler.py/get_css_config/swapped operands of `in`