From 99c97cf9f39c6b0b5574827bcde981fbc9d92e9c Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Tue, 31 Jul 2012 20:34:16 -0700 Subject: [PATCH] mark dbapi as deprecated. --- pym/gentoolkit/dbapi.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 -- 2.26.2