/[gentoo-src]/portage/pym/portage_db_test.py
Gentoo

Contents of /portage/pym/portage_db_test.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3.2.1 - (show annotations) (download) (as text)
Sun Jan 16 02:35:33 2005 UTC (13 years, 3 months ago) by carpaski
Branch: portage_2_0
CVS Tags: portage_2_0_51_18, portage_2_0_51_17
Branch point for: portage-2_0_51_20, portage_2_0_51_21
Changes since 1.3: +2 -1 lines
File MIME type: text/x-python
Added CVS ids as strings that can be printed. Cleaned up imports in the modules.

1 #!/usr/bin/python -O
2 # Copyright 2004 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4 # $Header: /var/cvsroot/gentoo-src/portage/pym/portage_db_test.py,v 1.3 2004/10/04 14:07:40 vapier Exp $
5 cvs_id_string="$Id: $"[5:-2]
6
7 import portage
8 import portage_db_template
9 import portage_db_anydbm
10 import portage_db_flat
11 import portage_db_cpickle
12
13 import os
14
15 uid = os.getuid()
16 gid = os.getgid()
17
18 portage_db_template.test_database(portage_db_flat.database,"/var/cache/edb/dep", "sys-apps",portage.auxdbkeys,uid,gid)
19 portage_db_template.test_database(portage_db_cpickle.database,"/var/cache/edb/dep","sys-apps",portage.auxdbkeys,uid,gid)
20 portage_db_template.test_database(portage_db_anydbm.database,"/var/cache/edb/dep", "sys-apps",portage.auxdbkeys,uid,gid)
21

  ViewVC Help
Powered by ViewVC 1.1.20