Skip to content

Commit adb3d07

Browse files
committed
SCons: Remove old Python 2 compat code
1 parent 0a1e31f commit adb3d07

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

tools/ios.py

-11
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,6 @@
55
import common_compiler_flags
66
from SCons.Variables import BoolVariable
77

8-
if sys.version_info < (3,):
9-
10-
def decode_utf8(x):
11-
return x
12-
13-
else:
14-
import codecs
15-
16-
def decode_utf8(x):
17-
return codecs.utf_8_decode(x)[0]
18-
198

209
def has_ios_osxcross():
2110
return "OSXCROSS_IOS" in os.environ

0 commit comments

Comments
 (0)