update dbus-loader: Remove Loader from safe_load()
As I commented on the commitc0bf88e,c0bf88ea05python3-validity.service does not start, at least on Debian buster, since safe_load() does not have arg Loader on its prototype. Removing Loader here, config = yaml.safe_load(configfd) makes it back to normal starting.
This commit is contained in:
parent
5bf6b2bd10
commit
032cde778e
1 changed files with 1 additions and 1 deletions
|
|
@ -241,7 +241,7 @@ def main():
|
|||
# Load and perform basic validation of config file.
|
||||
try:
|
||||
with (args.configpath / 'dbus-service.yaml').open(mode='rt') as configfd:
|
||||
config = yaml.safe_load(configfd, Loader=yaml.BaseLoader)
|
||||
config = yaml.safe_load(configfd)
|
||||
except FileNotFoundError:
|
||||
# No configuration file. Create default
|
||||
config = {'user_to_sid': {}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue