Gentoo Archives: gentoo-commits

From: Brian Dolbec <brian.dolbec@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/
Date: Wed, 01 Aug 2012 03:35:12
Message-Id: 1343792056.99c97cf9f39c6b0b5574827bcde981fbc9d92e9c.dol-sen@gentoo
1 commit: 99c97cf9f39c6b0b5574827bcde981fbc9d92e9c
2 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 1 03:34:16 2012 +0000
4 Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
5 CommitDate: Wed Aug 1 03:34:16 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=99c97cf9
7
8 mark dbapi as deprecated.
9
10 ---
11 pym/gentoolkit/dbapi.py | 11 ++++++++++-
12 1 files changed, 10 insertions(+), 1 deletions(-)
13
14 diff --git a/pym/gentoolkit/dbapi.py b/pym/gentoolkit/dbapi.py
15 index fbf0bc4..113545d 100644
16 --- a/pym/gentoolkit/dbapi.py
17 +++ b/pym/gentoolkit/dbapi.py
18 @@ -5,7 +5,16 @@
19 #
20 # $Header$
21
22 -"""Provides access to Portage database api"""
23 +"""Provides access to Portage database api
24 + Note: this file is deprecated, please replace all use
25 + of these variable with the assigned calls. That will
26 + take advantage of them being lazy-loaded.
27 +"""
28 +
29 +from __future__ import print_function
30 +
31 +print("gentoolkit.dbapi is deprecated.\n",
32 + "Please migrate to using the assigned calls directly")
33
34 import portage