!18 修复补丁适配函数参数问题

From: @tong_1001 
Reviewed-by: @xiezhipeng1 
Signed-off-by: @xiezhipeng1
This commit is contained in:
openeuler-ci-bot 2022-06-29 06:20:49 +00:00 committed by Gitee
commit 3227ce3868
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 8 additions and 2 deletions

View File

@ -91,7 +91,7 @@ index b33c7a2..04b4e19 100644
+) +)
+ +
+ +
+def is_pem_format(bytes): +def is_pem_format(key):
+ return bool(_PEM_RE.search(key)) + return bool(_PEM_RE.search(key))
+ +
+ +

View File

@ -2,7 +2,7 @@
%bcond_with tests %bcond_with tests
Name: python-jwt Name: python-jwt
Version: 1.7.1 Version: 1.7.1
Release: 3 Release: 4
Summary: JSON Web Token implementation in Python Summary: JSON Web Token implementation in Python
License: MIT License: MIT
URL: https://github.com/jpadilla/pyjwt URL: https://github.com/jpadilla/pyjwt
@ -71,6 +71,12 @@ Requires: python%{python3_pkgversion}-cryptography
%doc README.rst %doc README.rst
%changelog %changelog
* Wed Jun 29 2022 shixuantong <shixuantong@h-partners.com> - 1.7.1-4
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: fix patch error
* Tue Jun 14 2022 shixuantong <shixuantong@h-partners.com> - 1.7.1-3 * Tue Jun 14 2022 shixuantong <shixuantong@h-partners.com> - 1.7.1-3
- Type:CVE - Type:CVE
- ID:CVE-2022-29217 - ID:CVE-2022-29217