mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 21:43:09 +00:00
Disable use of Unicode-mode FilePaths on non-Windows platorms. fixes ticket:2444
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
7223c2821e
commit
f6fbc7255b
@ -63,7 +63,11 @@ def _reload():
|
||||
|
||||
is_unicode_platform = sys.platform in ["win32", "darwin"]
|
||||
|
||||
use_unicode_filepath = sys.platform == "win32" or hasattr(FilePath, '_asTextPath')
|
||||
# Despite the Unicode-mode FilePath support added to Twisted in
|
||||
# <https://twistedmatrix.com/trac/ticket/7805>, we can't yet use
|
||||
# Unicode-mode FilePaths with INotify on non-Windows platforms
|
||||
# due to <https://twistedmatrix.com/trac/ticket/7928>.
|
||||
use_unicode_filepath = sys.platform == "win32"
|
||||
|
||||
_reload()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user