misc/migration/3.7.5_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Fri, 14 Feb 2014 17:07:25 +0100
changeset 9539 072bb6598776
parent 5326 0d9054eb3bd1
permissions -rw-r--r--
Added tag cubicweb-version-3.18.3, cubicweb-debian-version-3.18.3-1, cubicweb-centos-version-3.18.3-1 for changeset afd21fea201a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5326
0d9054eb3bd1 [config] properly use time type for options representing a time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     1
if versions_map['cubicweb'][0] == (3, 7, 4):
0d9054eb3bd1 [config] properly use time type for options representing a time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     2
    config['http-session-time'] *= 60
0d9054eb3bd1 [config] properly use time type for options representing a time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     3
    config['cleanup-session-time'] *= 60
0d9054eb3bd1 [config] properly use time type for options representing a time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     4
    config['cleanup-anonymous-session-time'] *= 60