Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r11776 - main/trunk/pym/portage/dbapi
Date: Sat, 01 Nov 2008 05:32:33
Message-Id: E1Kw966-0003A3-Lu@stork.gentoo.org
1 Author: zmedico
2 Date: 2008-11-01 05:32:30 +0000 (Sat, 01 Nov 2008)
3 New Revision: 11776
4
5 Modified:
6 main/trunk/pym/portage/dbapi/__init__.py
7 Log:
8 Define __all__ and remove unused imports.
9
10
11 Modified: main/trunk/pym/portage/dbapi/__init__.py
12 ===================================================================
13 --- main/trunk/pym/portage/dbapi/__init__.py 2008-11-01 05:28:44 UTC (rev 11775)
14 +++ main/trunk/pym/portage/dbapi/__init__.py 2008-11-01 05:32:30 UTC (rev 11776)
15 @@ -2,15 +2,16 @@
16 # Distributed under the terms of the GNU General Public License v2
17 # $Id$
18
19 +__all__ = ["dbapi"]
20 +
21 import os
22 import re
23 -from portage.dep import Atom, dep_getslot, dep_getkey, \
24 - dep_getusedeps, match_from_list
25 +from portage.dep import match_from_list
26 from portage.locks import unlockfile
27 from portage.output import red
28 from portage.util import writemsg
29 from portage import auxdbkeys, dep_expand
30 -from portage.versions import catpkgsplit, catsplit, pkgcmp
31 +from portage.versions import catpkgsplit, pkgcmp
32
33
34 class dbapi(object):