From 8bab2c2ae5b739e6489ba19099726ad247531a63 Mon Sep 17 00:00:00 2001 From: Brant Knudson Date: Sat, 13 Jun 2015 09:32:52 -0500 Subject: [PATCH] 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 --- keystoneclient/common/cms.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/keystoneclient/common/cms.py b/keystoneclient/common/cms.py index 68af1dd1e..492d4081e 100644 --- a/keystoneclient/common/cms.py +++ b/keystoneclient/common/cms.py @@ -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.