Repository :
http://git.fedorahosted.org/cgit/cura-tools.git
On branch : master
---------------------------------------------------------------
commit 5781dc63463ec56bd6f965efb6293ce52516fa0a
Author: Peter Hatina <phatina(a)redhat.com>
Date: Wed Apr 3 13:00:55 2013 +0200
some code cleanup in LmiConnection
---------------------------------------------------------------
cli-tools/lmi/lmi_client_shell.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/cli-tools/lmi/lmi_client_shell.py b/cli-tools/lmi/lmi_client_shell.py
index fb3a29e..2f4b778 100644
--- a/cli-tools/lmi/lmi_client_shell.py
+++ b/cli-tools/lmi/lmi_client_shell.py
@@ -1051,6 +1051,10 @@ class LmiConnection(object):
def namespaces(self):
return ["root"]
+ @property
+ def root(self):
+ return _LmiNamespaceRoot(self._client)
+
def print_namespaces(self):
sys.stdout.write("root\n")
@@ -1076,7 +1080,3 @@ class LmiConnection(object):
finally:
LmiBaseClient._set_use_exceptions(use_exceptions)
return True
-
- @property
- def root(self):
- return _LmiNamespaceRoot(self._client)