summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2019-07-04 12:16:16 +0200
committerLars-Dominik Braun <lars@6xq.net>2019-07-04 12:16:16 +0200
commite7eb6fcd4781a907bf698a88df9cb34b5b31c369 (patch)
tree058880969b381adfb5f8e57e098ba1eb171e0240
parentec5e6a0aea7a2892f66ca1d196d83af521ca3955 (diff)
downloadcrocoite-e7eb6fcd4781a907bf698a88df9cb34b5b31c369.tar.gz
crocoite-e7eb6fcd4781a907bf698a88df9cb34b5b31c369.tar.bz2
crocoite-e7eb6fcd4781a907bf698a88df9cb34b5b31c369.zip
devtools: Prefix temp directories
-rw-r--r--crocoite/devtools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/crocoite/devtools.py b/crocoite/devtools.py
index ea46aaa..b6311df 100644
--- a/crocoite/devtools.py
+++ b/crocoite/devtools.py
@@ -269,7 +269,7 @@ class Process:
async def __aenter__ (self):
assert self.p is None
- self.userDataDir = mkdtemp ()
+ self.userDataDir = mkdtemp (prefix=__package__ + '-chrome-userdata-')
# see https://github.com/GoogleChrome/chrome-launcher/blob/master/docs/chrome-flags-for-tools.md
args = [self.binary,
'--window-size={},{}'.format (*self.windowSize),