mirror of
https://github.com/openkmip/pykmip
synced 2025-12-16 08:13:56 +00:00
Updating the ApplicationSpecificInformation attribute
This change adds some utility methods, including equality operators and string methods, to the ApplicationSpecificInformation attribute. Unit tests covering the changes are included.
This commit is contained in:
@@ -839,7 +839,7 @@ class TextString(Base):
|
||||
return "{0}(value={1})".format(type(self).__name__, repr(self.value))
|
||||
|
||||
def __str__(self):
|
||||
return "{0}".format(repr(self.value))
|
||||
return "{0}".format(str(self.value))
|
||||
|
||||
def __eq__(self, other):
|
||||
if isinstance(other, TextString):
|
||||
|
||||
Reference in New Issue
Block a user