2
0
mirror of https://github.com/openkmip/pykmip synced 2025-12-21 02:33:33 +00:00

Update how the ObjectGroup attribute is defined and used

This change updates the attribute factory, replacing the custom
ObjectGroup class with the proper usage of the TextString
primitive. ObjectGroup attribute usage and testing has been
updated across the library to reflect this change.
This commit is contained in:
Peter Hamilton
2019-10-07 13:03:13 -04:00
committed by Peter Hamilton
parent 01eb144243
commit 89e9b22c34
5 changed files with 22 additions and 21 deletions

View File

@@ -1066,13 +1066,6 @@ class State(Enumeration):
super(State, self).__init__(enums.State, value, Tags.STATE)
# 3.33
class ObjectGroup(TextString):
def __init__(self, value=None):
super(ObjectGroup, self).__init__(value, Tags.OBJECT_GROUP)
class ApplicationSpecificInformation(primitives.Struct):
"""
A structure used to store data specific to the applications that use a