mirror of https://github.com/OpenKMIP/PyKMIP.git
Merge pull request #284 from vbnmmnbv/revoke_pie
fix compromise_occurrence_date None handling in pie revoke
This commit is contained in:
commit
e591873bf4
|
@ -595,10 +595,9 @@ class ProxyKmipClient(api.KmipClient):
|
|||
if not isinstance(compromise_occurrence_date, six.integer_types):
|
||||
raise TypeError(
|
||||
"compromise_occurrence_date must be an integer")
|
||||
|
||||
compromise_occurrence_date = primitives.DateTime(
|
||||
compromise_occurrence_date,
|
||||
enums.Tags.COMPROMISE_OCCURRENCE_DATE)
|
||||
compromise_occurrence_date = primitives.DateTime(
|
||||
compromise_occurrence_date,
|
||||
enums.Tags.COMPROMISE_OCCURRENCE_DATE)
|
||||
|
||||
# Verify that operations can be given at this time
|
||||
if not self._is_open:
|
||||
|
|
Loading…
Reference in New Issue