cleanups
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 28 Jan 2016 18:02:49 +0100
changeset 11075 881b3d9ee2b3
parent 11074 76d06973776e
child 11079 eba98431f705
cleanups
devtools/testlib.py
misc/migration/postcreate.py
--- a/devtools/testlib.py	Tue Jan 26 11:49:25 2016 +0100
+++ b/devtools/testlib.py	Thu Jan 28 18:02:49 2016 +0100
@@ -308,7 +308,6 @@
         """return admin session"""
         return self._admin_session
 
-    # XXX this doesn't need to a be classmethod anymore
     def _init_repo(self):
         """init the repository and connection to it.
         """
--- a/misc/migration/postcreate.py	Tue Jan 26 11:49:25 2016 +0100
+++ b/misc/migration/postcreate.py	Thu Jan 28 18:02:49 2016 +0100
@@ -30,7 +30,7 @@
     create_entity('CWProperty', pkey=u'system.version.%s' % cube.lower(),
                   value=text_type(config.cube_version(cube)))
 
-# some entities have been added before schema entities, fix the 'is' and
+# some entities have been added before schema entities, add their missing 'is' and
 # 'is_instance_of' relations
 for rtype in ('is', 'is_instance_of'):
     sql('INSERT INTO %s_relation '