def get_signature(signature_data):
 try:
  signature = base64.decode_as_bytes(signature_data)
 except (TypeError, binascii.Error):
  raise exception.SignatureVerificationError(reason=_('The signature data was not properly encoded using base64'))
 return signature

def get_signature ( signature_data ) : try : signature = base64 . decode_as_bytes ( signature_data ) except ( TypeError , binascii . Error ) : raise exception . SignatureVerificationError ( reason = _ ( 'The signature data was not properly encoded using base64' ) ) return signature
decode the signature data and returns the signature .