def DebugOutput(mode, message):
  if gyp.debug.keys() in 'all' or mode in gyp.debug.keys():
    ctx = ('unknown', 0, 'unknown')
    try:
      f = traceback.extract_stack(limit=2)
      if f:
        ctx = f[0][:3]
    except:
      pass
    print '%s:%s:%d:%s %s' % (mode.upper(), os.path.basename(ctx[0]),
                              ctx[1], ctx[2], message)
dataset/ETHPy150Open adobe/brackets-shell/gyp/pylib/gyp/__init__.py/DebugOutput/swapped operands of `in`