misc/migration/3.7.5_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Tue, 22 Dec 2015 10:39:05 +0100
changeset 11038 7cb02ab4f321
parent 5326 0d9054eb3bd1
permissions -rw-r--r--
[hooks] fix extra_props handling on python3 The json module expects str, not bytes, so we need to do the decoding.

if versions_map['cubicweb'][0] == (3, 7, 4):
    config['http-session-time'] *= 60
    config['cleanup-session-time'] *= 60
    config['cleanup-anonymous-session-time'] *= 60