Ryan Barry has uploaded a new change for review. Change subject: Log the grub filename, not the File object ......................................................................
Log the grub filename, not the File object Trivial change -- log the property, not the object, so we can see the actual grub config filename we thought we'd match in the logs Change-Id: I3a53876be222efd0d7ed90d62d5c950acd9ef5af Signed-off-by: Ryan Barry <[email protected]> --- M src/ovirt/node/utils/system.py 1 file changed, 2 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/25/46025/1 diff --git a/src/ovirt/node/utils/system.py b/src/ovirt/node/utils/system.py index 179b5db..229e596 100644 --- a/src/ovirt/node/utils/system.py +++ b/src/ovirt/node/utils/system.py @@ -996,7 +996,8 @@ cfg = File(cfg_path) if not cfg.exists(): - raise RuntimeError("Grub config file does not exist: %s" % cfg) + raise RuntimeError("Grub config file does not exist: %s" % + cfg.filename) return cfg -- To view, visit https://gerrit.ovirt.org/46025 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3a53876be222efd0d7ed90d62d5c950acd9ef5af Gerrit-PatchSet: 1 Gerrit-Project: ovirt-node Gerrit-Branch: master Gerrit-Owner: Ryan Barry <[email protected]> _______________________________________________ node-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/node-patches
