server/repository.py
changeset 9505 53225f66e7ca
parent 9496 e699fbcc9a61
child 9506 7f6883783969
--- a/server/repository.py	Thu Jan 30 15:52:22 2014 +0100
+++ b/server/repository.py	Wed Jan 29 15:56:44 2014 +0100
@@ -559,8 +559,8 @@
         """
         from logilab.common.changelog import Version
         vcconf = {}
-        with self.internal_session() as session:
-            for pk, version in session.execute(
+        with self.internal_cnx() as cnx:
+            for pk, version in cnx.execute(
                 'Any K,V WHERE P is CWProperty, P value V, P pkey K, '
                 'P pkey ~="system.version.%"', build_descr=False):
                 cube = pk.split('.')[-1]