diff options
| author | Andy Grover <agrover@redhat.com> | 2013-03-28 13:01:02 -0700 |
|---|---|---|
| committer | Andy Grover <agrover@redhat.com> | 2013-03-28 13:01:02 -0700 |
| commit | a8cc98c34adb42e47b256c5ad9250a460f8914e0 (patch) | |
| tree | 2a2dd002c00903decbaa057957ac3c2885a3103a /targetcli/ui_node.py | |
| parent | 9162160e3dfb072637c9d202d1378b89b7533132 (diff) | |
| download | targetcli-a8cc98c34adb42e47b256c5ad9250a460f8914e0.tar.gz | |
Remove execute_command in UIRTSLibNode
extraneous.
Signed-off-by: Andy Grover <agrover@redhat.com>
Diffstat (limited to 'targetcli/ui_node.py')
| -rw-r--r-- | targetcli/ui_node.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/targetcli/ui_node.py b/targetcli/ui_node.py index 64c5fa1..6ef5f17 100644 --- a/targetcli/ui_node.py +++ b/targetcli/ui_node.py @@ -147,22 +147,6 @@ class UIRTSLibNode(UINode): self.define_config_group_param( 'attribute', attribute, 'string', description, writable) - def execute_command(self, command, pparams=[], kparams={}): - ''' - Overrides the parent's execute_command() to check if the underlying - RTSLib object still exists before returning. - ''' - try: - self.rtsnode._check_self() - except RTSLibError: - self.shell.log.error("The underlying rtslib object for " - + "%s does not exist." % self.path) - root = self.get_root() - root.refresh() - return root - - return UINode.execute_command(self, command, pparams, kparams) - def ui_getgroup_attribute(self, attribute): ''' This is the backend method for getting attributes. |
