Bug 918097 - [mozprofile] Add unicode letter to profile path by default. draft
authorHenrik Skupin <mail@hskupin.info>
Thu, 15 Feb 2018 11:15:45 +0100
changeset 755394 78c157ccb806da2d47386379f824ad3a724ab104
parent 754399 38b3c1d03a594664c6b32c35533734283c258f43
push id99173
push userbmo:hskupin@gmail.com
push dateThu, 15 Feb 2018 10:16:08 +0000
bugs918097
milestone60.0a1
Bug 918097 - [mozprofile] Add unicode letter to profile path by default. MozReview-Commit-ID: JtCxdJxMEkR
testing/mozbase/mozprofile/mozprofile/profile.py
--- a/testing/mozbase/mozprofile/mozprofile/profile.py
+++ b/testing/mozbase/mozprofile/mozprofile/profile.py
@@ -78,17 +78,17 @@ class Profile(object):
         self._whitelistpaths = whitelistpaths
 
         # Handle profile creation
         self.create_new = not profile
         if profile:
             # Ensure we have a full path to the profile
             self.profile = os.path.abspath(os.path.expanduser(profile))
         else:
-            self.profile = tempfile.mkdtemp(suffix='.mozrunner')
+            self.profile = tempfile.mkdtemp(suffix=u'.mozrunner\u1F36A')
 
         self.restore = restore
 
         # Initialize all class members
         self._internal_init()
 
     def _internal_init(self):
         """Internal: Initialize all class members to their default value"""