def restart(watch):
  if not misc.is_string_secure(watch):
    logging.error("Watch string [{0}] is a possible security violation".format(
      watch))
    return False

  logging.info("Restarting watch {0}".format(watch))
  return run_with_retry([MONIT, 'restart', '-g', watch])
Grabs all the directories in the zip structure
dataset/ETHPy150Open AppScale/appscale/lib/monit_interface.py/restart--crossover with--dataset/ETHPy150Open eBay/restcommander/play-1.2.4/framework/pym/play/commands/modulesrepo.py/Unzip._listdirs