Пример #1
0
	def updatePluginPlaces(self, directories_list):
		"""
		DEPRECATED(>1.9): kept for backward compatibility
		with existing PluginManager child classes.
		
		Updates the list of directories where to look for plugin places.
		"""
		log.warn("updatePluginPlaces was called but '%s' doesn't implement it." % self)
Пример #2
0
    def setPluginPlaces(self, directories_list):
        """
		DEPRECATED(>1.9): kept for backward compatibility
		with existing PluginManager child classes.
		
		Set the list of directories where to look for plugin places.
		"""
        log.warn("setPluginPlaces was called but '%s' doesn't implement it." %
                 self)
Пример #3
0
	def getPluginInfoClass(self):
		"""
		DEPRECATED(>1.9): kept for backward compatibility
		with existing PluginManager child classes.
		
		Get the class that holds PluginInfo.
		"""
		log.warn("getPluginInfoClass was called but '%s' doesn't implement it." % self)
		return None
Пример #4
0
	def setPluginInfoClass(self, picls, names=None):
		"""
		DEPRECATED(>1.9): kept for backward compatibility
		with existing PluginManager child classes.
		
		Set the class that holds PluginInfo. The class should inherit
		from ``PluginInfo``.
		"""
		log.warn("setPluginInfoClass was called but '%s' doesn't implement it." % self)
Пример #5
0
    def getPluginInfoClass(self):
        """
		DEPRECATED(>1.9): kept for backward compatibility
		with existing PluginManager child classes.
		
		Get the class that holds PluginInfo.
		"""
        log.warn(
            "getPluginInfoClass was called but '%s' doesn't implement it." %
            self)
        return None
Пример #6
0
    def setPluginInfoClass(self, picls, names=None):
        """
		DEPRECATED(>1.9): kept for backward compatibility
		with existing PluginManager child classes.
		
		Set the class that holds PluginInfo. The class should inherit
		from ``PluginInfo``.
		"""
        log.warn(
            "setPluginInfoClass was called but '%s' doesn't implement it." %
            self)
Пример #7
0
	def getPluginNameAndModuleFromStream(self,fileobj):
		"""
		DEPRECATED(>1.9): kept for backward compatibility
		with existing PluginManager child classes.
		
		Return a 3-uple with the name of the plugin, its
		module and the config_parser used to gather the core
		data *in a tuple*, if the required info could be
		localised, else return ``(None,None,None)``.
		"""
		log.warn("setPluginInfoClass was called but '%s' doesn't implement it." % self)
		return None,None,None
Пример #8
0
    def getPluginNameAndModuleFromStream(self, fileobj):
        """
		DEPRECATED(>1.9): kept for backward compatibility
		with existing PluginManager child classes.
		
		Return a 3-uple with the name of the plugin, its
		module and the config_parser used to gather the core
		data *in a tuple*, if the required info could be
		localised, else return ``(None,None,None)``.
		"""
        log.warn(
            "setPluginInfoClass was called but '%s' doesn't implement it." %
            self)
        return None, None, None