diff options
author | Keith Bostic <keith@wiredtiger.com> | 2015-04-03 19:09:01 -0400 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2015-04-03 19:09:01 -0400 |
commit | 6ac31a41d6bf55a0fe5081e03ca615139bb344e4 (patch) | |
tree | ae31c4cadaacf86ffe56c804ea94b926d4f739da | |
parent | 169fe762eabd02427dde21c0dc4a8888823e88d4 (diff) | |
download | mongo-6ac31a41d6bf55a0fe5081e03ca615139bb344e4.tar.gz |
Revert "Add shebang, make db dir if does not exist"
This reverts commit 149a66b6383e63050a0c5f6eef3d82262e2ba3ee.
-rwxr-xr-x | examples/python/ex_access.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/python/ex_access.py b/examples/python/ex_access.py index 6283f5051b8..7789f932d19 100755 --- a/examples/python/ex_access.py +++ b/examples/python/ex_access.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # Public Domain 2014-2015 MongoDB, Inc. # Public Domain 2008-2014 WiredTiger, Inc. # @@ -25,13 +24,9 @@ # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR # OTHER DEALINGS IN THE SOFTWARE. -import os from wiredtiger import wiredtiger_open # Connect to the database and open a session -if not os.path.exists('WT_TEST'): - os.makedirs('WT_TEST') - conn = wiredtiger_open('WT_TEST', 'create') session = conn.open_session() |