[node-patches] Change in ovirt-node[master]: system: Add missing Arguments.get()

fabiand at fedoraproject.org fabiand at fedoraproject.org
Fri Jun 27 11:06:18 UTC 2014


Fabian Deutsch has uploaded a new change for review.

Change subject: system: Add missing Arguments.get()
......................................................................

system: Add missing Arguments.get()

Change-Id: I8854df532fcc537a200a5a929b5d12ae3f66cc74
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirt/node/utils/system.py
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/49/29349/1

diff --git a/src/ovirt/node/utils/system.py b/src/ovirt/node/utils/system.py
index 2f3ab07..5a05e14 100644
--- a/src/ovirt/node/utils/system.py
+++ b/src/ovirt/node/utils/system.py
@@ -896,6 +896,9 @@
             else:
                 self.update_args("%s=%s" % (key, value))
 
+        def get(self, key, alt=None):
+            return self.items.get(key, alt)
+
         def keys(self):
             return self.items.keys()
 


-- 
To view, visit http://gerrit.ovirt.org/29349
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8854df532fcc537a200a5a929b5d12ae3f66cc74
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list