projects
/
gentoolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58b14f6
)
mark dbapi as deprecated.
author
Brian Dolbec
<dolsen@gentoo.org>
Wed, 1 Aug 2012 03:34:16 +0000
(20:34 -0700)
committer
Brian Dolbec
<dolsen@gentoo.org>
Wed, 1 Aug 2012 03:34:16 +0000
(20:34 -0700)
pym/gentoolkit/dbapi.py
patch
|
blob
|
history
diff --git
a/pym/gentoolkit/dbapi.py
b/pym/gentoolkit/dbapi.py
index fbf0bc4286131a0ebb480fce7b93832e7ddc9cf0..113545df2e0731c282394d93f4fa0dd6f5881fc4 100644
(file)
--- 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