diff options
author | Andy Grover <agrover@redhat.com> | 2014-01-02 15:51:20 -0800 |
---|---|---|
committer | Andy Grover <agrover@redhat.com> | 2014-01-02 15:51:20 -0800 |
commit | 12e338a15bfa645f2735f1afba264882cff3e1d8 (patch) | |
tree | 47abf53482e4392e6a858470b782cb9c87f7c103 | |
parent | 87e57cf275e2841377ec2ee3794ed7781507d6fd (diff) | |
download | rtslib-fb-12e338a15bfa645f2735f1afba264882cff3e1d8.tar.gz |
Fix some typos in reprs
NetworkPortal and LUN both missing '>'s at the end.
Signed-off-by: Andy Grover <agrover@redhat.com>
-rw-r--r-- | rtslib/target.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rtslib/target.py b/rtslib/target.py index b7855b9..0b23b68 100644 --- a/rtslib/target.py +++ b/rtslib/target.py @@ -453,7 +453,7 @@ class LUN(CFSNode): # LUN private stuff def __repr__(self): - return "<LUN %d (%s/%s)" % (self.lun, self.storage_object.plugin, + return "<LUN %d (%s/%s)>" % (self.lun, self.storage_object.plugin, self.storage_object.name) def __init__(self, parent_tpg, lun=None, storage_object=None, alias=None): @@ -658,7 +658,7 @@ class NetworkPortal(CFSNode): # NetworkPortal private stuff def __repr__(self): - return "<NetworkPortal %s port %s" % (self.ip_address, self.port) + return "<NetworkPortal %s port %s>" % (self.ip_address, self.port) def __init__(self, parent_tpg, ip_address, port=3260, mode='any'): ''' |