def call(cmd):
  if DEBUG:
      print 'DEBUG: will execute -> %s' % cmd  
  else:
      try:
        response = subcall(cmd,shell=True)
        print
        time.sleep(1)
        if response < 0:
          sys.exit(response)
      except OSError, E:
        sys.exit(E)
dataset/ETHPy150Open springmeyer/nik2img/deploy.py/call/original