blob: fae1b6f5f8f30c5dd9db630e8311fe6408e4f131 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/usr/bin/python
#
# Copyright 2009-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
#
# $Header$
"""Provides access to Portage database api"""
import portage
#bindb = portage.db[portage.root]["bintree"].dbapi
PORTDB = portage.db[portage.root]["porttree"].dbapi
VARDB = portage.db[portage.root]["vartree"].dbapi
#virtuals = portage.db[portage.root]["virtuals"]
# vim: set ts=8 sw=4 tw=79:
|