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,7 +595,6 @@ class ProxyKmipClient(api.KmipClient):
|
||||||
if not isinstance(compromise_occurrence_date, six.integer_types):
|
if not isinstance(compromise_occurrence_date, six.integer_types):
|
||||||
raise TypeError(
|
raise TypeError(
|
||||||
"compromise_occurrence_date must be an integer")
|
"compromise_occurrence_date must be an integer")
|
||||||
|
|
||||||
compromise_occurrence_date = primitives.DateTime(
|
compromise_occurrence_date = primitives.DateTime(
|
||||||
compromise_occurrence_date,
|
compromise_occurrence_date,
|
||||||
enums.Tags.COMPROMISE_OCCURRENCE_DATE)
|
enums.Tags.COMPROMISE_OCCURRENCE_DATE)
|
||||||
|
|
Loading…
Reference in New Issue