Commit a51f3a6b authored by Wout De Nolf's avatar Wout De Nolf
Browse files

Small pep8 fixes

parent 2224d9fa
Pipeline #31328 failed with stages
in 56 minutes and 40 seconds
......@@ -228,7 +228,7 @@ class BeaconObject:
if reload:
if not self._config_name:
raise RuntimeError(
f"Cannot apply config on unindexed config node. Hint: provide configuration of a valid, named object in __init__"
"Cannot apply config on unindexed config node. Hint: provide configuration of a valid, named object in __init__"
)
self.config.reload()
......
......@@ -363,7 +363,7 @@ class ConfigNode(MutableMapping):
)
if ConfigReference.is_reference(name):
# a name must be a string, or a direct reference to an object in config
assert not "." in name
assert "." not in name
else:
if name in ConfigNode.indexed_nodes:
existing_node = ConfigNode.indexed_nodes[name]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment