summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/python/tdbdump.py
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/tdb/python/tdbdump.py')
-rw-r--r--source4/lib/tdb/python/tdbdump.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/source4/lib/tdb/python/tdbdump.py b/source4/lib/tdb/python/tdbdump.py
deleted file mode 100644
index d759d771c8..0000000000
--- a/source4/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)