diff options
author | Brian Dolbec <dolsen@gentoo.org> | 2012-07-31 20:34:16 -0700 |
---|---|---|
committer | Brian Dolbec <dolsen@gentoo.org> | 2012-07-31 20:34:16 -0700 |
commit | 99c97cf9f39c6b0b5574827bcde981fbc9d92e9c (patch) | |
tree | 3b558b6f669d3f79aa1ad6eabf943bc7a7d9b619 /pym/gentoolkit/dbapi.py | |
parent | replace all use of dbapi's PORTDB, VARDB, BINDB assigned variables with the a... (diff) | |
download | gentoolkit-99c97cf9f39c6b0b5574827bcde981fbc9d92e9c.tar.gz gentoolkit-99c97cf9f39c6b0b5574827bcde981fbc9d92e9c.tar.bz2 gentoolkit-99c97cf9f39c6b0b5574827bcde981fbc9d92e9c.zip |
mark dbapi as deprecated.
Diffstat (limited to 'pym/gentoolkit/dbapi.py')
-rw-r--r-- | pym/gentoolkit/dbapi.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pym/gentoolkit/dbapi.py b/pym/gentoolkit/dbapi.py index fbf0bc4..113545d 100644 --- a/pym/gentoolkit/dbapi.py +++ b/pym/gentoolkit/dbapi.py @@ -5,7 +5,16 @@ # # $Header$ -"""Provides access to Portage database api""" +"""Provides access to Portage database api + Note: this file is deprecated, please replace all use + of these variable with the assigned calls. That will + take advantage of them being lazy-loaded. +""" + +from __future__ import print_function + +print("gentoolkit.dbapi is deprecated.\n", + "Please migrate to using the assigned calls directly") import portage |