mark dbapi as deprecated.
authorBrian Dolbec <dolsen@gentoo.org>
Wed, 1 Aug 2012 03:34:16 +0000 (20:34 -0700)
committerBrian Dolbec <dolsen@gentoo.org>
Wed, 1 Aug 2012 03:34:16 +0000 (20:34 -0700)
pym/gentoolkit/dbapi.py

index fbf0bc4286131a0ebb480fce7b93832e7ddc9cf0..113545df2e0731c282394d93f4fa0dd6f5881fc4 100644 (file)
@@ -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