[PATCH 06/24] Remove duplicate plugin property

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



One "feature" of Python is that it lets you redeclare functions in
the same scope. Pretty sure this was unintentional, here.

Signed-off-by: Andy Grover <agrover@xxxxxxxxxx>
---
 rtslib/tcm.py |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/rtslib/tcm.py b/rtslib/tcm.py
index c363b2e..7b4703b 100644
--- a/rtslib/tcm.py
+++ b/rtslib/tcm.py
@@ -47,9 +47,6 @@ class Backstore(CFSNode):
                                         self._index)
         self._create_in_cfs_ine(mode)
 
-    def _get_plugin(self):
-        return self._plugin
-
     def _get_index(self):
         return self._index
 
@@ -113,8 +110,6 @@ class Backstore(CFSNode):
             doc="Get the list of StorageObjects attached to the backstore.")
     version = property(_get_version,
             doc="Get the Backstore plugin version string.")
-    plugin = property(_get_plugin,
-            doc="Get the Backstore plugin name.")
     name = property(_get_name,
             doc="Get the backstore name.")
 
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux