Show More
@@ -308,7 +308,7 b' def get_ipython_dir():' | |||||
308 | " using a temp directory."%ipdir) |
|
308 | " using a temp directory."%ipdir) | |
309 | ipdir = tempfile.mkdtemp() |
|
309 | ipdir = tempfile.mkdtemp() | |
310 | elif not os.path.exists(ipdir): |
|
310 | elif not os.path.exists(ipdir): | |
311 |
parent |
|
311 | parent = os.path.dirname(ipdir) | |
312 | if not _writable_dir(parent): |
|
312 | if not _writable_dir(parent): | |
313 | # ipdir does not exist and parent isn't writable |
|
313 | # ipdir does not exist and parent isn't writable | |
314 | warnings.warn("IPython parent '%s' is not a writable location," |
|
314 | warnings.warn("IPython parent '%s' is not a writable location," |
General Comments 0
You need to be logged in to leave comments.
Login now