def check_vcs_conflict():
 try:
  ok = True
  for fn in _get_files(only_py=True):
   with tokenize.open(fn) as f:
    for line in f:
     if any((line.startswith((c * 7)) for c in '<>=|')):
      print 'Found conflict marker in {}'.format(fn)
      ok = False
  print ()
  return ok
 except Exception:
  traceback.print_exc()
  return None

def check_vcs_conflict ( ) : try : ok = True for fn in _get_files ( only_py = True ) : with tokenize . open ( fn ) as f : for line in f : if any ( ( line . startswith ( ( c * 7 ) ) for c in '<>=|' ) ) : print 'Found conflict marker in {}' . format ( fn ) ok = False print ( ) return ok except Exception : traceback . print_exc ( ) return None
check vcs conflict markers .