File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[ ![ Venafi] ( .github/images/Venafi_logo.png )] ( https://www.venafi.com/ )
2+
23[ ![ Apache 2.0 License] ( https://img.shields.io/badge/License-Apache%202.0-blue.svg )] ( https://opensource.org/licenses/Apache-2.0 )
34![ Community Supported] ( https://img.shields.io/badge/Support%20Level-Community-brightgreen )
4- ![ Compatible with TPP 17.3+ & VaaS] ( https://img.shields.io/badge/Compatibility-TPP%2017.3+%20%26%20VaaS-f9a90c )
5+ ![ Compatible with TPP 17.3+ & VaaS] ( https://img.shields.io/badge/Compatibility-TPP%2017.3+%20%26%20VaaS-f9a90c )
6+ [ ![ pypi Downloads] ( https://img.shields.io/pypi/dw/vcert )] ( https://pypi.org/project/vcert/ )
7+ [ ![ Quality Gate Status] ( https://sonarcloud.io/api/project_badges/measure?project=Venafi_vcert-python&metric=alert_status )] ( https://sonarcloud.io/summary/new_code?id=Venafi_vcert-python )
8+
59_ ** This open source project is community-supported.** To report a problem or share an idea, use
610** [ Issues] ( ../../issues ) ** ; and if you have a suggestion for fixing the issue, please include those details, too.
711In addition, use ** [ Pull Requests] ( ../../pulls ) ** to contribute actual bug fixes or proposed enhancements.
Original file line number Diff line number Diff line change @@ -468,7 +468,7 @@ def validate_default_subject(policy_spec):
468468 if s .states [0 ] != ds .state :
469469 raise VenafiError (no_match_error_msg .format ('states' , ds .state , s .states [0 ]))
470470
471- if s .countries and s .countries and ds .country :
471+ if s .countries and s .countries [ 0 ] and ds .country :
472472 if s .countries [0 ] != ds .country :
473473 raise VenafiError (no_match_error_msg .format ('countries' , ds .country , s .countries [0 ]))
474474
You can’t perform that action at this time.
0 commit comments