Changes in tools/ew.py [01552e3:edb57bc6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/ew.py
r01552e3 redb57bc6 1 #!/usr/bin/env python 1 #!/usr/bin/env python3 2 2 # 3 3 # Copyright (c) 2013 Jakub Jermar … … 39 39 import subprocess 40 40 import sys 41 import thread41 import _thread 42 42 import time 43 43 … … 68 68 69 69 def cfg_get(platform, machine, processor): 70 if machine == "" or emulators[platform].has_key("run"):70 if machine == "" or "run" in emulators[platform]: 71 71 return emulators[platform] 72 elif processor == "" or emulators[platform][machine].has_key("run"):72 elif processor == "" or "run" in emulators[platform][machine]: 73 73 return emulators[platform][machine] 74 74 else: … … 148 148 ) 149 149 extra_info = ("Pre-compiled binary can be obtained from " 150 "http://snapshots.linaro.org/components/kernel/leg-virt-tianocore-edk2-upstream/latest/QEMU-AARCH64/RELEASE_GCC 49/QEMU_EFI.fd.\n")150 "http://snapshots.linaro.org/components/kernel/leg-virt-tianocore-edk2-upstream/latest/QEMU-AARCH64/RELEASE_GCC5/QEMU_EFI.fd.\n") 151 151 efi_path = find_firmware( 152 152 "EDK2", 'EW_QEMU_EFI_AARCH64', default_paths, extra_info)
Note:
See TracChangeset
for help on using the changeset viewer.