misc/migration/3.7.4_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 15 Apr 2010 19:25:39 +0200
branchstable
changeset 5299 ec23f3ebcd34
parent 5181 f34ee58fdfc8
child 5326 0d9054eb3bd1
permissions -rw-r--r--
[3.7.4] fix migration of configuration file
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5181
f34ee58fdfc8 [migration] propagate TrInfo.comment permissions fix to existing instances
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     1
sync_schema_props_perms('TrInfo', syncprops=False)
5299
ec23f3ebcd34 [3.7.4] fix migration of configuration file
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5181
diff changeset
     2
ec23f3ebcd34 [3.7.4] fix migration of configuration file
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5181
diff changeset
     3
config['http-session-time'] /= 60
ec23f3ebcd34 [3.7.4] fix migration of configuration file
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5181
diff changeset
     4
config['cleanup-session-time'] /= 60
ec23f3ebcd34 [3.7.4] fix migration of configuration file
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5181
diff changeset
     5
config['cleanup-anonymous-session-time'] /= 60