Fabian Deutsch 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/06/46106/1

diff --git a/src/ovirt/node/utils/system.py b/src/ovirt/node/utils/system.py
index e18f9a0..472d0bb 100755
--- a/src/ovirt/node/utils/system.py
+++ b/src/ovirt/node/utils/system.py
@@ -1114,7 +1114,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/46106
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3a53876be222efd0d7ed90d62d5c950acd9ef5af
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: ovirt-3.6
Gerrit-Owner: Fabian Deutsch <[email protected]>
Gerrit-Reviewer: Fabian Deutsch <[email protected]>
_______________________________________________
node-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/node-patches

Reply via email to