mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-11 13:55:53 +00:00
- No deep copying is needed. The deepcopy() is just a hack to work around that the value might not be a list. That deserves a comment at least. - A catch-all try/except will hide stuff like misspelled variables as well. It's usually a bad idea. Rewrite things to be more explicit, and add some comments. reg.py was indirectly using the deepcopy() imported in global.py, because it does 'from global import *'. Have it import deepcopy() itself instead. reg.py is the only remaining user of deepcopy(). reg.py relying on the deepcopy() import in global.py was super hard to discover, due to another catch-all try/except around the deepcopy() call. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no> |
||
---|---|---|
.. | ||
checkpatch | ||
ci | ||
coccinelle | ||
cross_compiler | ||
dts | ||
footprint | ||
gitlint | ||
kconfig | ||
sanity_chk | ||
support | ||
west_commands | ||
.gitignore | ||
check_link_map.py | ||
checkpatch.pl | ||
checkstack.pl | ||
coccicheck | ||
dir_is_writeable.py | ||
elf_helper.py | ||
file2hex.py | ||
filter-known-issues.py | ||
gen_app_partitions.py | ||
gen_cfb_font_header.py | ||
gen_gcov_files.py | ||
gen_kobject_list.py | ||
gen_offset_header.py | ||
gen_priv_stacks.py | ||
gen_relocate_app.py | ||
gen_syscall_header.py | ||
gen_syscalls.py | ||
mergehex.py | ||
parse_syscalls.py | ||
process_gperf.py | ||
qemu-machine-hack.py | ||
requirements.txt | ||
sanitycheck | ||
spelling.txt | ||
subfolder_list.py | ||
tags.sh | ||
valgrind.supp | ||
waitpid | ||
west-commands.yml | ||
yaml_to_cmake.py |