removing a source config causes turku-update-config to error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Turku Backup System |
New
|
Undecided
|
Unassigned |
Bug Description
Removing a source from /etc/turku-
After deleting or renaming a .json file to .json.disabled the I get this error:
$ sudo turku-update-config
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/lib/
config = load_config(
File "/usr/lib/
for s in sources_config:
RuntimeError: dictionary changed size during iteration
I discovered this is because it still reads in configs from /var/lib/
Removing the corresponding file from /var/lib/
Related branches
- Haw Loeung: Disapprove
-
Diff: 12 lines (+2/-1)1 file modifiedturku_agent/utils.py (+2/-1)