File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1515
1616 Contributed by @cognifloyd.
1717
18+ * Fixed ``st2client/st2client/base.py `` file to check for http_proxy and https_proxy environment variables for both lower and upper cases.
19+
20+ Contributed by @S-T-A-R-L-O-R-D
21+
1822Added
1923~~~~~
2024
Original file line number Diff line number Diff line change @@ -447,6 +447,12 @@ def _print_client_settings(self, args):
447447 print ("" )
448448 print ("Proxy settings:" )
449449 print ("---------------" )
450- print ("HTTP_PROXY: %s" % (os .environ .get ("HTTP_PROXY" , "" )))
451- print ("HTTPS_PROXY: %s" % (os .environ .get ("HTTPS_PROXY" , "" )))
450+ print (
451+ "HTTP_PROXY: %s"
452+ % (os .environ .get ("http_proxy" , os .environ .get ("HTTP_PROXY" , "" )))
453+ )
454+ print (
455+ "HTTPS_PROXY: %s"
456+ % (os .environ .get ("http_proxy" , os .environ .get ("HTTPS_PROXY" , "" )))
457+ )
452458 print ("" )
You can’t perform that action at this time.
0 commit comments