Skip to content

Commit

Permalink
Black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
remingtonc committed Oct 26, 2019
1 parent 96e741c commit efc7bf8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cisco_gnmi/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,9 @@ def construct(self):
if self.__ssl_target_name_override is None:
if not self.__root_certificates:
raise Exception("Deriving override requires root certificate!")
self.__ssl_target_name_override = get_cn_from_cert(self.__root_certificates)
self.__ssl_target_name_override = get_cn_from_cert(
self.__root_certificates
)
logging.warning(
"Overriding SSL option from certificate could increase MITM susceptibility!"
)
Expand Down

0 comments on commit efc7bf8

Please sign in to comment.