summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-04-03 19:09:01 -0400
committerKeith Bostic <keith@wiredtiger.com>2015-04-03 19:09:01 -0400
commit6ac31a41d6bf55a0fe5081e03ca615139bb344e4 (patch)
treeae31c4cadaacf86ffe56c804ea94b926d4f739da
parent169fe762eabd02427dde21c0dc4a8888823e88d4 (diff)
downloadmongo-6ac31a41d6bf55a0fe5081e03ca615139bb344e4.tar.gz
Revert "Add shebang, make db dir if does not exist"
This reverts commit 149a66b6383e63050a0c5f6eef3d82262e2ba3ee.
-rwxr-xr-xexamples/python/ex_access.py5
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()