2dd9480911
* fix: long standing bug that prevented dbs and locks from being properly closed at exit, now pisi.finalize does something :)
27 lines
559 B
Python
Executable File
27 lines
559 B
Python
Executable File
#!/usr/bin/python
|
|
#
|
|
# Copyright (C) 2005, TUBITAK/UEKAE
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify it under
|
|
# the terms of the GNU General Public License as published by the Free
|
|
# Software Foundation; either version 2 of the License, or (at your option)
|
|
# any later version.
|
|
#
|
|
# Please read the COPYING file.
|
|
#
|
|
# Author: Eray Ozkural <eray@uludag.org.tr>
|
|
|
|
import sys
|
|
import bsddb.dbshelve as shelve
|
|
|
|
sys.path.append('.')
|
|
|
|
import pisi
|
|
|
|
d = shelve.open( sys.argv[1] )
|
|
|
|
for (k, data) in d.iteritems():
|
|
print k, data
|
|
|
|
d.close()
|