Merge pull request #284 from vbnmmnbv/revoke_pie

fix compromise_occurrence_date None handling in pie revoke
This commit is contained in:
Peter Hamilton 2017-04-27 19:48:27 -04:00 committed by GitHub
commit e591873bf4
1 changed files with 3 additions and 4 deletions

View File

@ -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)