Ejemplo n.º 1
0
def ShouldPause():
    """Check whether we should pause.

  """
    return bool(utils.ReadWatcherPauseFile(pathutils.WATCHER_PAUSEFILE))
Ejemplo n.º 2
0
    def perspective_get_watcher_pause(params):
        """Get watcher pause end.

    """
        return utils.ReadWatcherPauseFile(pathutils.WATCHER_PAUSEFILE)