mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
Merge "tools: pack_v2: update exception with respect to python3"
This commit is contained in:
commit
2eefcb9af0
1 changed files with 2 additions and 2 deletions
|
|
@ -1102,7 +1102,7 @@ class Pack(object):
|
||||||
ret = self.__gen_flash_script_bootconfig(entries, partition, flinfo, script, section)
|
ret = self.__gen_flash_script_bootconfig(entries, partition, flinfo, script, section)
|
||||||
if ret == 1:
|
if ret == 1:
|
||||||
continue
|
continue
|
||||||
except KeyError, e:
|
except KeyError as e:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# Get machID
|
# Get machID
|
||||||
|
|
@ -1536,7 +1536,7 @@ class Pack(object):
|
||||||
ret = self.__gen_script_bootconfig(images, flinfo, part_info, section)
|
ret = self.__gen_script_bootconfig(images, flinfo, part_info, section)
|
||||||
if ret == 1:
|
if ret == 1:
|
||||||
continue
|
continue
|
||||||
except KeyError, e:
|
except KeyError as e:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if section_conf == "cdt" or section_conf == "ddrconfig":
|
if section_conf == "cdt" or section_conf == "ddrconfig":
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue