diff options
author | Andy Grover <agrover@redhat.com> | 2015-02-03 11:33:23 -0800 |
---|---|---|
committer | Andy Grover <agrover@redhat.com> | 2015-02-03 11:33:23 -0800 |
commit | eb801f5b5db0b10990094dfd179a8e2bd1c14ca4 (patch) | |
tree | 12794af21c53e8858d661e9f5ed7239fb97a5559 | |
parent | 59d7575d83645b8576cbdb89f52a2e557c5e35a9 (diff) | |
download | targetcli-eb801f5b5db0b10990094dfd179a8e2bd1c14ca4.tar.gz |
Don't need to set ui_so.name = so.name in refresh()
The constructor for UIStorageObject already does this.
Signed-off-by: Andy Grover <agrover@redhat.com>
-rw-r--r-- | targetcli/ui_backstore.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/targetcli/ui_backstore.py b/targetcli/ui_backstore.py index 7312611..90708d9 100644 --- a/targetcli/ui_backstore.py +++ b/targetcli/ui_backstore.py @@ -124,7 +124,6 @@ class UIBackstore(UINode): for so in RTSRoot().storage_objects: if so.plugin == self.name: ui_so = self.so_cls(so, self) - ui_so.name = so.name def summary(self): return ("Storage Objects: %d" % len(self._children), None) |