Ejemplo n.º 1
0
Archivo: Gamin.py Proyecto: rcuza/bcfg2
    def __init__(self, ignore=None, debug=False):
        FileMonitor.__init__(self, ignore=ignore, debug=debug)

        #: The :class:`Gamin.WatchMonitor` object for this monitor.
        self.mon = None

        #: The counter used to produce monotonically increasing
        #: monitor handle IDs
        self.counter = 0

        #: The queue used to record monitors that are added before
        #: :func:`start` has been called and :attr:`mon` is created.
        self.add_q = []
Ejemplo n.º 2
0
    def __init__(self):
        FileMonitor.__init__(self)

        #: The :class:`Gamin.WatchMonitor` object for this monitor.
        self.mon = None

        #: The counter used to produce monotonically increasing
        #: monitor handle IDs
        self.counter = 0

        #: The queue used to record monitors that are added before
        #: :func:`start` has been called and :attr:`mon` is created.
        self.add_q = []
Ejemplo n.º 3
0
    def __init__(self):
        FileMonitor.__init__(self)

        #: The :class:`Gamin.WatchMonitor` object for this monitor.
        self.mon = None

        #: The counter used to produce monotonically increasing
        #: monitor handle IDs
        self.counter = 0

        #: The queue used to record monitors that are added before
        #: :func:`start` has been called and :attr:`mon` is created.
        self.add_q = []

        self.logger.warning("The Gamin file monitor backend is deprecated. "
                            "Please switch to a supported file monitor.")
Ejemplo n.º 4
0
 def __init__(self, ignore=None, debug=False):
     FileMonitor.__init__(self, ignore=ignore, debug=debug)
     self.mon = WatchMonitor()
     self.counter = 0
Ejemplo n.º 5
0
 def __init__(self, ignore=None, debug=False):
     FileMonitor.__init__(self, ignore=ignore, debug=debug)
     self.fm = _fam.open()
     self.users = {}
Ejemplo n.º 6
0
 def __init__(self, ignore=None, debug=False):
     FileMonitor.__init__(self, ignore=ignore, debug=debug)
     self.filemonitor = _fam.open()
     self.users = {}
Ejemplo n.º 7
0
 def __init__(self, ignore=None, debug=False):
     FileMonitor.__init__(self, ignore=ignore, debug=debug)
     self.filemonitor = _fam.open()
     self.users = {}
     LOGGER.warning("The Fam file monitor backend is deprecated. Please "
                    "switch to a supported file monitor.")
Ejemplo n.º 8
0
 def __init__(self, ignore=None, debug=False):
     FileMonitor.__init__(self, ignore=ignore, debug=debug)
     self.mon = None
     self.counter = 0
     self.add_q = []
Ejemplo n.º 9
0
Archivo: Gamin.py Proyecto: ab/bcfg2
 def __init__(self, ignore=None, debug=False):
     FileMonitor.__init__(self, ignore=ignore, debug=debug)
     self.mon = WatchMonitor()
     self.counter = 0