mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
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.
This commit is contained in:
parent
7aaad0aa7e
commit
e22ae5daea
1 changed files with 0 additions and 10 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue