misc/migration/3.7.2_Any.py
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Mon, 24 Jun 2013 12:00:03 +0200
changeset 9032 629a8d49d6f5
parent 5015 55e2602545cd
permissions -rw-r--r--
[auth] pass `repo` instead of `vreg` to SessionManager and AuthenticationManager Those object actually need a repo object to connect and create new session object. They used to retrieve the repo object using ``vreg.config.repository()``. I'm trying to sanitise the initialisation stack and get ride of ``config.repository()``, a function that mix factory and cache. Retrieving the vreg from the repo is trivial (``repo.vreg``) so we now pass the repo object instead of the vreg.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5015
55e2602545cd fix migration script
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5013
diff changeset
     1
sql('DROP FUNCTION IF EXISTS _fsopen(bytea)')
55e2602545cd fix migration script
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5013
diff changeset
     2
sql('DROP FUNCTION IF EXISTS fspath(bigint, text, text)')