diff options
author | Martin Robinson <mrobinson@igalia.com> | 2023-06-22 12:24:50 +0200 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2023-06-22 12:25:38 +0200 |
commit | e22ae5daea970f1701c082510ac80ed9e7f6d0b6 (patch) | |
tree | 4ed7e41977768806c973232141747941c9b61b27 /python/mach_bootstrap.py | |
parent | 7aaad0aa7eac2d0c98ff17091013fda77359397d (diff) | |
download | servo-e22ae5daea970f1701c082510ac80ed9e7f6d0b6.tar.gz servo-e22ae5daea970f1701c082510ac80ed9e7f6d0b6.zip |
Allow building on paths with Unicode characters
This now works since the upgrade to Python 3, so we can remove
this code which prevents mach from running in these situations.
Diffstat (limited to 'python/mach_bootstrap.py')
-rw-r--r-- | python/mach_bootstrap.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/python/mach_bootstrap.py b/python/mach_bootstrap.py index dec54260839..2d3d5ce8a4f 100644 --- a/python/mach_bootstrap.py +++ b/python/mach_bootstrap.py @@ -266,16 +266,6 @@ def bootstrap(topdir): topdir = os.path.abspath(topdir) - # We don't support paths with Unicode characters for now - # https://github.com/servo/servo/issues/10002 - try: - # Trick to support both python2 and python3 - topdir.encode().decode('ascii') - except UnicodeDecodeError: - print('Cannot run mach in a path with Unicode characters.') - print('Current path:', topdir) - sys.exit(1) - # We don't support paths with spaces for now # https://github.com/servo/servo/issues/9442 if ' ' in topdir: |