diff -r d9a1e7939ee6 -r 635cfac73d28 server/serverctl.py --- 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()