public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/
@ 2012-08-01  3:34 99% Brian Dolbec
  0 siblings, 0 replies; 1+ results
From: Brian Dolbec @ 2012-08-01  3:34 UTC (permalink / raw
  To: gentoo-commits

commit:     99c97cf9f39c6b0b5574827bcde981fbc9d92e9c
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  1 03:34:16 2012 +0000
Commit:     Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Wed Aug  1 03:34:16 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=99c97cf9

mark dbapi as deprecated.

---
 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
 


^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2012-08-01  3:34 99% [gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/ Brian Dolbec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox