diff options
-rw-r--r-- | rtslib/fabric.py | 2 | ||||
-rw-r--r-- | rtslib/utils.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/rtslib/fabric.py b/rtslib/fabric.py index 2a37b9e..3e82c8c 100644 --- a/rtslib/fabric.py +++ b/rtslib/fabric.py @@ -187,7 +187,7 @@ class _BaseFabricModule(CFSNode): according to the spec, and returns a tuple of our preferred string representation of the wwn, and what type it turned out to be. ''' - return normalize_wwn(self.wwn_types, wwn, self.wwns) + return normalize_wwn(self.wwn_types, wwn) def to_fabric_wwn(self, wwn): ''' diff --git a/rtslib/utils.py b/rtslib/utils.py index c5cbbe0..ca0e7bc 100644 --- a/rtslib/utils.py +++ b/rtslib/utils.py @@ -311,7 +311,7 @@ def _cleanse_wwn(wwn_type, wwn): return wwn -def normalize_wwn(wwn_types, wwn, possible_wwns=None): +def normalize_wwn(wwn_types, wwn): ''' Take a WWN as given by the user and convert it to a standard text representation. If possible_wwns is not None, verify that |