mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
python3: Gotta add list() when we manipulate the dict during the loop
This commit is contained in:
parent
caa5e07d41
commit
bbfd5eb9d0
1 changed files with 1 additions and 1 deletions
|
@ -599,7 +599,7 @@ def _get_services():
|
|||
|
||||
# some services are marked as None to remove them from YunoHost
|
||||
# filter this
|
||||
for key, value in services.items():
|
||||
for key, value in list(services.items()):
|
||||
if value is None:
|
||||
del services[key]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue