def get_watcher(self):
        """
        Return a etcd watching generator which yields events as they happen.

        """
        if not self.watching:
            raise StopIteration()
        return self.client.eternal_watch(self.prefix, recursive=True)
def get_watcher(self):
        """
        Return a etcd watching generator which yields events as they happen.

        """
        if not self.watching:
            raise StopIteration()
        return self.client.eternal_watch(self.prefix, recursive=True)
def get_watcher ( self ) : if not self . watching : raise StopIteration ( ) return self . client . eternal_watch ( self . prefix , recursive = True )
Return a etcd watching generator which yields events as they happen.
Return a etcd watching generator which yields events as they happen .