# HG changeset patch # User Julien Cristau # Date 1442567147 -7200 # Node ID c96d67251a9dc9784e8bdb3c2e270bd70c96c28f # Parent 7c386161ebd6b7e9fc63b28a10671931add9a60a [etwist] remove no-longer-necessary uicache cleaning It was done before we were actually up, which means it could be too eager when combined with #6893185. Closes #6893247. diff -r 7c386161ebd6 -r c96d67251a9d etwist/twctl.py --- a/etwist/twctl.py Mon Nov 23 17:58:10 2015 +0100 +++ b/etwist/twctl.py Fri Sep 18 11:05:47 2015 +0200 @@ -17,10 +17,6 @@ # with CubicWeb. If not, see . """cubicweb-clt handlers for twisted""" -from os.path import join - -from logilab.common.shellutils import rm - from cubicweb.toolsutils import CommandHandler from cubicweb.web.webctl import WebCreateHandler, WebUpgradeHandler @@ -36,9 +32,6 @@ def start_server(self, config): from cubicweb.etwist import server - config.info('clear ui caches') - for cachedir in ('uicache', 'uicachehttps'): - rm(join(config.appdatahome, cachedir, '*')) return server.run(config) class TWStopHandler(CommandHandler):