[devtools] fix config.repository signature
authorJulien Cristau <julien.cristau@logilab.fr>
Fri, 05 Feb 2016 10:30:01 +0100
changeset 11093 f28a5c19d4ed
parent 11092 3d177dfcdb19
child 11094 13c9cd75f097
[devtools] fix config.repository signature Its argument is called 'vreg', not 'x'. Closes #10515113.
devtools/__init__.py
--- a/devtools/__init__.py	Wed Feb 03 16:23:34 2016 +0100
+++ b/devtools/__init__.py	Fri Feb 05 10:30:01 2016 +0100
@@ -405,7 +405,7 @@
         """Factory method to create a new Repository Instance"""
         config._cubes = None
         repo = config.repository()
-        config.repository = lambda x=None: repo
+        config.repository = lambda vreg=None: repo
         # extending Repository class
         repo._has_started = False
         repo._needs_refresh = False