コード例 #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 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)
コード例 #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
ファイル: IPluginLocator.py プロジェクト: hannesrauhe/skyhog
    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)
コード例 #5
0
ファイル: IPluginLocator.py プロジェクト: hannesrauhe/skyhog
    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
ファイル: IPluginLocator.py プロジェクト: hannesrauhe/skyhog
    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
ファイル: IPluginLocator.py プロジェクト: hannesrauhe/skyhog
    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