try again

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2018-03-06 10:47:55 -05:00
parent f2def195b8
commit 6e21217c19
+1 -3
View File
@@ -1129,9 +1129,7 @@ class TemporaryDirectory(object):
if 'RAM_DISK' in os.environ:
import uuid
name = uuid.uuid4().hex
dir_name = '/'.join([os.environ['RAM_DISK'].strip(), name])
print(dir_name)
exit()
dir_name = os.path.sep.join([os.environ['RAM_DISK'].strip(), name])
os.mkdir(dir_name)
self.name = dir_name