From 6ac31a41d6bf55a0fe5081e03ca615139bb344e4 Mon Sep 17 00:00:00 2001 From: Keith Bostic Date: Fri, 3 Apr 2015 19:09:01 -0400 Subject: Revert "Add shebang, make db dir if does not exist" This reverts commit 149a66b6383e63050a0c5f6eef3d82262e2ba3ee. --- examples/python/ex_access.py | 5 ----- 1 file changed, 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() -- cgit v1.2.1