mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
sb: Update code base to support Python3 and Python2.
Fix Windows support to allow MSYS2 Python to be used. Updates #2619.
This commit is contained in:
@@ -121,7 +121,7 @@ def load():
|
||||
'__chown': ('exe', 'required', '/usr/sbin/chown') },
|
||||
}
|
||||
|
||||
if variations.has_key(distro):
|
||||
if distro in variations:
|
||||
for v in variations[distro]:
|
||||
if path.exists(variations[distro][v][2]):
|
||||
defines[v] = variations[distro][v]
|
||||
|
Reference in New Issue
Block a user