From: Daira Hopwood Date: Mon, 8 Jun 2015 12:54:36 +0000 (+0100) Subject: Disable use of Unicode-mode FilePaths on non-Windows platorms. fixes ticket:2444 X-Git-Url: https://git.rkrishnan.org/vdrive/frontends/wapi.txt?a=commitdiff_plain;h=e506e4d73b95c102fd95ab27e285a8fe0b7d3b44;p=tahoe-lafs%2Ftahoe-lafs.git Disable use of Unicode-mode FilePaths on non-Windows platorms. fixes ticket:2444 Signed-off-by: Daira Hopwood --- diff --git a/src/allmydata/util/encodingutil.py b/src/allmydata/util/encodingutil.py index ae54afb9..452cdc5b 100644 --- a/src/allmydata/util/encodingutil.py +++ b/src/allmydata/util/encodingutil.py @@ -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 + # , we can't yet use + # Unicode-mode FilePaths with INotify on non-Windows platforms + # due to . + use_unicode_filepath = sys.platform == "win32" _reload()