Commit c49b0092 authored by Adeodato Simo's avatar Adeodato Simo Committed by Michael Hanselmann
Browse files need explicit %-formatting in errors.OpPrereqError.

Signed-off-by: default avatarAdeodato Simo <>
Reviewed-by: default avatarMichael Hanselmann <>
parent b6ac86e0
......@@ -874,7 +874,7 @@ class ConfigWriter:
for nodegroup in self._config_data.nodegroups.values():
if == target:
return nodegroup.uuid
raise errors.OpPrereqError("Nodegroup '%s' not found", target)
raise errors.OpPrereqError("Nodegroup '%s' not found" % target)
@locking.ssynchronized(_config_lock, shared=1)
def GetNodeGroup(self, uuid):
Markdown is supported
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