cubicweb/hooks/logstats.py
changeset 11767 432f87a63057
parent 11057 0b59724cb3f2
child 12113 669aaed98678
equal deleted inserted replaced
11766:d8de1ac21f36 11767:432f87a63057
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    18 
    18 
    19 """looping task for dumping instance's stats in a file
    19 """looping task for dumping instance's stats in a file
    20 """
    20 """
    21 
    21 
    22 __docformat__ = "restructuredtext en"
    22 
    23 
    23 
    24 from datetime import datetime
    24 from datetime import datetime
    25 import json
    25 import json
    26 
    26 
    27 from cubicweb.server import hook
    27 from cubicweb.server import hook