[Elisa-commits] Changeset 4709 by guidonte

Linda linda at fluendo.com
Fri Jan 18 14:15:37 CET 2008


Hola,

I'm Linda, the friendly SVN commit spy.

On Fri, 18 Jan 2008 13:15:35 -0000, guidonte has committed some new stuff. The
log message was:

"""
	reviewed by: <philippe at fluendo.com>
	* epr/lib/repository.py:
	Make it possible to specify an alternative configuration for the
	repository, using the hardcoded one as a default.


"""

Maintainers of changed files are:

 - sandbox/plugin_management/epr/lib/repository.py
  * Philippe Normand <philippe at fluendo.com>




Please see https://code.fluendo.com/elisa/trac/changeset/4709 for details about this commit!
Diff of the changeset appears below:

--- sandbox/plugin_management/ChangeLog 
+++ sandbox/plugin_management/ChangeLog 
@@ -1,3 +1,11 @@
+2008-01-18  Guido Amoruso  <guidonte at fluendo.com>
+
+	reviewed by: <philippe at fluendo.com>
+
+	* epr/lib/repository.py:
+	Make it possible to specify an alternative configuration for the
+	repository, using the hardcoded one as a default.
+
 2008-01-18  Guido Amoruso  <guidonte at fluendo.com>
 
 	reviewed by: <philippe at fluendo.com>
--- sandbox/plugin_management/epr/lib/repository.py 
+++ sandbox/plugin_management/epr/lib/repository.py 
@@ -59,7 +59,7 @@
     
     log_category = "repository"
 
-    def __init__(self, init=False, config_filename=None, **kw):
+    def __init__(self, init=False, config_filename=None, default_config=DEFAULT_CONFIG, **kw):
         """
         Load the config file.
 
@@ -74,7 +74,7 @@
             config_filename = 'repository.conf'
 
         self._init = init
-        self._config = config.Config(config_filename, DEFAULT_CONFIG)
+        self._config = config.Config(config_filename, default_config)
         self._httpd = None
         self.eggs_url = ""
         self.api = None


Feel free to slap guidonte if he did something wrong. I'm not
able to determine that.

Cheers,
Linda


More information about the Elisa-commits mailing list