diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-09-16 15:16:31 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-09-16 15:16:31 +0200 |
commit | 7111645d3c46e55b2c180e3db0ba8a3c670a3c31 (patch) | |
tree | 2c68d65b55dc5829939fbd960742da6cd35de9db /source3/lib/tdb/python/tdbdump.py | |
parent | ec1c854f2175823bd1ad39c2e272d1b3fab80bf1 (diff) | |
download | samba-7111645d3c46e55b2c180e3db0ba8a3c670a3c31.tar.gz samba-7111645d3c46e55b2c180e3db0ba8a3c670a3c31.tar.bz2 samba-7111645d3c46e55b2c180e3db0ba8a3c670a3c31.zip |
Use single copy of tdb in both samba3 and samba4.
Diffstat (limited to 'source3/lib/tdb/python/tdbdump.py')
-rw-r--r-- | source3/lib/tdb/python/tdbdump.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/source3/lib/tdb/python/tdbdump.py b/source3/lib/tdb/python/tdbdump.py deleted file mode 100644 index d759d771c8..0000000000 --- a/source3/lib/tdb/python/tdbdump.py +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/python -# Trivial reimplementation of tdbdump in Python - -import tdb, sys - -if len(sys.argv) < 2: - print "Usage: tdbdump.py <tdb-file>" - sys.exit(1) - -db = tdb.Tdb(sys.argv[1]) -for (k, v) in db.iteritems(): - print "{\nkey(%d) = %r\ndata(%d) = %r\n}" % (len(k), k, len(v), v) |