dbapi.py
changeset 9404 3e3e9b37e177
parent 9402 2c48c091b6a2
child 9458 e2dfdd313dfe
equal deleted inserted replaced
9403:d81207fb9499 9404:3e3e9b37e177
    91         self.close_on_del = close
    91         self.close_on_del = close
    92 
    92 
    93 
    93 
    94 
    94 
    95 
    95 
    96 @deprecated('[4.0] the dbapi is deprecated. Have a look at the new repoapi.')
    96 @deprecated('[3.19] the dbapi is deprecated. Have a look at the new repoapi.')
    97 def _repo_connect(repo, login, **kwargs):
    97 def _repo_connect(repo, login, **kwargs):
    98     """Constructor to create a new connection to the given CubicWeb repository.
    98     """Constructor to create a new connection to the given CubicWeb repository.
    99 
    99 
   100     Returns a Connection instance.
   100     Returns a Connection instance.
   101 
   101