dbapi.py
changeset 8934 48a6e6b88b16
parent 8744 2091d275fe5c
child 8992 55a1567d92a0
--- a/dbapi.py	Thu Apr 25 12:24:26 2013 +0200
+++ b/dbapi.py	Mon Apr 22 17:57:46 2013 +0200
@@ -411,6 +411,7 @@
         """return the definition of sources used by the repository."""
         return self.cnx.source_defs()
 
+    @deprecated('[3.17] do not use hijack_user. create new Session object')
     def hijack_user(self, user):
         """return a fake request/session using specified user"""
         req = DBAPIRequest(self.vreg)