diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2017-10-28 21:33:24 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2017-10-28 21:33:24 +0100 |
commit | c5db348c5e29e93e51389fa0079f829967c5da82 (patch) | |
tree | 0b876cbf4e1ae8dac81c63256ee233376940e2c8 /test/aux-fixed/2800.lmdb-mkdb-dump.py | |
parent | 1e0f06b3cfeb3c2453323453555d827c81456e1e (diff) | |
parent | cd328be98eb5bdda73316eaf95d9d6a617c7df7d (diff) |
Merge branch 'master' into 4.next
Diffstat (limited to 'test/aux-fixed/2800.lmdb-mkdb-dump.py')
-rw-r--r-- | test/aux-fixed/2800.lmdb-mkdb-dump.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/test/aux-fixed/2800.lmdb-mkdb-dump.py b/test/aux-fixed/2800.lmdb-mkdb-dump.py deleted file mode 100644 index 3de6ba13b..000000000 --- a/test/aux-fixed/2800.lmdb-mkdb-dump.py +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env python -import os -import lmdb - -if os.path.exists('2800.mdb'): - os.unlink('2800.mdb') - -env = lmdb.open('2800.mdb', subdir=False); -with env.begin(write=True) as txn: - txn.put('first', 'data for first') - txn.put('second', 'A=1 B=2') - txn.put('third', 'A1:B2:C3') - cursor = txn.cursor() - for key, value in cursor: - print key, "=>", value |