bugfix: extrapath is optional arg for init_registration
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Wed, 03 Jun 2009 21:14:46 +0200
changeset 2035 946ed7349e1a
parent 2034 ddf4f2d8d51c
child 2036 68ee0ffb66a7
bugfix: extrapath is optional arg for init_registration
vregistry.py
--- a/vregistry.py	Wed Jun 03 19:50:34 2009 +0200
+++ b/vregistry.py	Wed Jun 03 21:14:46 2009 +0200
@@ -314,7 +314,7 @@
 
     # intialization methods ###################################################
 
-    def init_registration(self, path, extrapath):
+    def init_registration(self, path, extrapath=None):
         # compute list of all modules that have to be loaded
         self._toloadmods, filemods = _toload_info(path, extrapath)
         self._loadedmods = {}