aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2012-07-31 20:34:16 -0700
committerBrian Dolbec <dolsen@gentoo.org>2012-07-31 20:34:16 -0700
commit99c97cf9f39c6b0b5574827bcde981fbc9d92e9c (patch)
tree3b558b6f669d3f79aa1ad6eabf943bc7a7d9b619 /pym/gentoolkit/dbapi.py
parentreplace all use of dbapi's PORTDB, VARDB, BINDB assigned variables with the a... (diff)
downloadgentoolkit-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.py11
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