--- a/cubicweb/server/schemaserial.py Fri Jun 26 10:26:00 2015 +0200
+++ b/cubicweb/server/schemaserial.py Wed Jul 20 09:09:34 2016 +0200
@@ -93,9 +93,8 @@
dbhelper = repo.system_source.dbhelper
# Computed Rtype
- with cnx.ensure_cnx_set:
- tables = set(t.lower() for t in dbhelper.list_tables(cnx.cnxset.cu))
- has_computed_relations = 'cw_cwcomputedrtype' in tables
+ tables = set(t.lower() for t in dbhelper.list_tables(cnx.cnxset.cu))
+ has_computed_relations = 'cw_cwcomputedrtype' in tables
# computed attribute
try:
cnx.system_sql("SELECT cw_formula FROM cw_CWAttribute")