server/serverctl.py
changeset 10354 635cfac73d28
parent 10237 1e030b1a5622
child 10411 4ee15441f2eb
--- a/server/serverctl.py	Fri Jun 13 13:54:28 2014 +0200
+++ b/server/serverctl.py	Tue Jun 10 16:01:49 2014 +0200
@@ -957,7 +957,7 @@
         config = ServerConfiguration.config_for(appid)
         repo, cnx = repo_cnx(config)
         with cnx:
-            reindex_entities(repo.schema, cnx._cnx, etypes=etypes)
+            reindex_entities(repo.schema, cnx, etypes=etypes)
             cnx.commit()