misc/migration/3.7.5_Any.py
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Tue, 11 Oct 2011 18:18:14 +0200
branchstable
changeset 7938 80c6e2155c3d
parent 5326 0d9054eb3bd1
permissions -rw-r--r--
AnyRsetView: Refactor the columns_name method and update doc. We drop the 'label_column_%s' % colidx pattern and add a clean column_label method that might be overwritten by children class to alter the way default columns headers are computed.
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