Commit b7c0ad8b authored by Ian Harry's avatar Ian Harry

Revert "Add a create dir option to dbtables.py for running on vulcan"

This reverts commit 29126f32d12e8e33fd65c3dddca2a2f52d37e66c.
parent 6bae01d6
......@@ -200,8 +200,6 @@ def get_connection_filename(filename, tmp_path = None, replace_file = False, ver
install_signal_trap()
# create the remporary file and replace it's
# unlink() function
if not os.path.exists(path):
os.makedirs(path)
temporary_file = tempfile.NamedTemporaryFile(suffix = suffix, dir = path if path != "_CONDOR_SCRATCH_DIR" else os.getenv("_CONDOR_SCRATCH_DIR"))
def new_unlink(self, orig_unlink = temporary_file.unlink):
# also remove a -journal partner, ignore all errors
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment