Remove confusing deprecation comment from token_to_cms

A comment on a function doesn't deprecate it since users aren't
going to see it.

The removed deprecation comment is doubly useless since this
function can't be deprecated. There's no alternative given and it's
actively used by keystonemiddleware.

bp deprecations

Change-Id: Ib9bf1b6e0631423094ebe60ff2a718dd659b5561
This commit is contained in:
Brant Knudson
2015-06-13 09:32:52 -05:00
parent c503c29f93
commit 8bab2c2ae5

View File

@@ -226,8 +226,6 @@ def pkiz_verify(signed_text, signing_cert_file_name, ca_file_name):
inform=PKIZ_CMS_FORM)
# This function is deprecated and will be removed once the ASN1 token format
# is no longer required. It is only here to be used for testing.
def token_to_cms(signed_text):
"""Converts a custom formatted token to a PEM-formatted token.