cubicweb/devtools/__init__.py
changeset 11129 97095348b3ee
parent 11093 f28a5c19d4ed
parent 11057 0b59724cb3f2
child 11195 5de859b95988
--- a/cubicweb/devtools/__init__.py	Thu Feb 11 21:59:49 2016 +0100
+++ b/cubicweb/devtools/__init__.py	Wed Feb 17 13:45:34 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