예제 #1
0
    def get_monitor(self, path):
        """Get file system monitor for specified path"""
        try:
            result = GioMonitor(self, path)
        except:
            result = Provider.get_monitor(self, path)

        return result
예제 #2
0
	def get_monitor(self, path):
		"""Get file system monitor for specified path"""
		try:
			result = GioMonitor(self, path)
		except:
			result = Provider.get_monitor(self, path)

		return result
예제 #3
0
    def get_monitor(self, path):
        """Get file system monitor for specified path"""
        try:
            result = LocalMonitor(self, path)

        except MonitorError as error:
            result = Provider.get_monitor(self, path)

        return result
예제 #4
0
	def get_monitor(self, path):
		"""Get file system monitor for specified path"""
		try:
			result = LocalMonitor(self, path)

		except MonitorError as error:
			result = Provider.get_monitor(self, path)

		return result