Skip to content

Commit

Permalink
SCons: Remove old Python 2 compat code
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga committed Jul 18, 2024
1 parent 0a1e31f commit adb3d07
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions tools/ios.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,6 @@
import common_compiler_flags
from SCons.Variables import BoolVariable

if sys.version_info < (3,):

def decode_utf8(x):
return x

else:
import codecs

def decode_utf8(x):
return codecs.utf_8_decode(x)[0]


def has_ios_osxcross():
return "OSXCROSS_IOS" in os.environ
Expand Down

0 comments on commit adb3d07

Please sign in to comment.