mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-11-30 13:06:53 +01:00
[Fix] Fix further mutable default arguments and smaller issues.
This commit is contained in:
parent
668fa62793
commit
4089238ddd
9 changed files with 44 additions and 28 deletions
|
|
@ -112,7 +112,7 @@ def check_params(path, param_hash, prefix, param_prefix="parameters_"):
|
|||
# Exclude folders with different names
|
||||
for exc in ls:
|
||||
if not fnmatch.fnmatch(exc, prefix + '*'):
|
||||
ls = list(set(ls) - set([exc]))
|
||||
ls = list(set(ls) - {exc})
|
||||
|
||||
ls = sort_names(ls)
|
||||
nums = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue