Module platform is not available on old Jython (PY-18334)

This commit is contained in:
Elizaveta Shashkova
2016-02-15 17:50:39 +03:00
parent 7a671c53f8
commit 7418aca666
+1 -2
View File
@@ -97,8 +97,7 @@ def set_ide_os(os):
if os == 'UNIX':
normcase = lambda f:f #Change to no-op if the client side is on unix/mac.
else:
import platform
if platform.system() == 'Windows':
if sys.platform == 'win32':
normcase = norm_case
else:
normcase = os_normcase