Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5091)

Unified Diff: chrome/test/chromedriver/util.py

Issue 1844743002: [chromedriver] Only delete temp files that start with "chromedriver_". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/chromedriver/run_buildbot_steps.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/util.py
diff --git a/chrome/test/chromedriver/util.py b/chrome/test/chromedriver/util.py
index 8f67b9ea5268f91aa8c8606fd73983e8b5952c57..d4a6d749b404321b30f9e3fbc711992ce162608b 100644
--- a/chrome/test/chromedriver/util.py
+++ b/chrome/test/chromedriver/util.py
@@ -87,7 +87,7 @@ def MakeTempDir(parent_dir=None):
Returns:
The absolute path to the temporary directory.
"""
- path = tempfile.mkdtemp(dir=parent_dir)
+ path = tempfile.mkdtemp(prefix='chromedriver_', dir=parent_dir)
atexit.register(MaybeDelete, path)
return path
« no previous file with comments | « chrome/test/chromedriver/run_buildbot_steps.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698