Exemplo n.º 1
0
    def __init__(self, avalaible_effects={}):
        Signallable.__init__(self)
        Loggable.__init__(self)

        self.current = None
        self.backup_lock = 0
        self.avalaible_effects = avalaible_effects
Exemplo n.º 2
0
    def __init__(self, avalaible_effects={}):
        Signallable.__init__(self)
        Loggable.__init__(self)

        self.current = None
        self.backup_lock = 0
        self.avalaible_effects = avalaible_effects
Exemplo n.º 3
0
    def __init__(self):
        Loggable.__init__(self)
        Signallable.__init__(self)
        self._sources = {}
        self._ordered_sources = []

        self.discoverer = self.discovererClass()
        self.discoverer.connect("discovery-error", self._discoveryErrorCb)
        self.discoverer.connect("discovery-done", self._discoveryDoneCb)
        self.discoverer.connect("starting", self._discovererStartingCb)
        self.discoverer.connect("ready", self._discovererReadyCb)
        self.discoverer.connect("missing-plugins",
                                self._discovererMissingPluginsCb)
Exemplo n.º 4
0
    def __init__(self):
        Loggable.__init__(self)
        Signallable.__init__(self)
        self._sources = {}
        self._ordered_sources = []

        self.discoverer = self.discovererClass()
        self.discoverer.connect("discovery-error", self._discoveryErrorCb)
        self.discoverer.connect("discovery-done", self._discoveryDoneCb)
        self.discoverer.connect("starting", self._discovererStartingCb)
        self.discoverer.connect("ready", self._discovererReadyCb)
        self.discoverer.connect("missing-plugins",
                self._discovererMissingPluginsCb)
Exemplo n.º 5
0
    def __init__(self):
        Loggable.__init__(self)
        Signallable.__init__(self)
        # A (URI -> SourceFactory) map.
        self._sources = {}
        # A list of SourceFactory objects.
        self._ordered_sources = []
        self.nb_file_to_import = 1
        self.nb_imported_files = 0

        self.discoverer = self.discovererClass()
        self.discoverer.connect("discovery-error", self._discoveryErrorCb)
        self.discoverer.connect("discovery-done", self._discoveryDoneCb)
        self.discoverer.connect("starting", self._discovererStartingCb)
        self.discoverer.connect("ready", self._discovererReadyCb)
        self.discoverer.connect("missing-plugins",
                self._discovererMissingPluginsCb)
Exemplo n.º 6
0
 def __init__(self, **kwargs):
     Signallable.__init__(self)
     self._config = SafeConfigParser()
     self._readSettingsFromGlobalConfiguration()
     self._readSettingsFromConfigurationFile()
     self._readSettingsFromEnvironmentVariables()
Exemplo n.º 7
0
    def __init__(self):
        Signallable.__init__(self)
        Loggable.__init__(self)

        self.current = None
        self.backup_lock = 0
Exemplo n.º 8
0
 def __init__(self, **kwargs):
     Signallable.__init__(self)
     self._config = SafeConfigParser()
     self._readSettingsFromGlobalConfiguration()
     self._readSettingsFromConfigurationFile()
     self._readSettingsFromEnvironmentVariables()
Exemplo n.º 9
0
    def __init__(self):
        Signallable.__init__(self)
        Loggable.__init__(self)

        self.current = None
Exemplo n.º 10
0
    def __init__(self):
        Signallable.__init__(self)
        Loggable.__init__(self)

        self.current = None