Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
oci
python-oci-cli
python-oci-cli-click-8.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-oci-cli-click-8.patch of Package python-oci-cli
From 0fdb3c581cbfff8c415a0370920c045d65e0ef1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20T=C3=B3th?= <adricko28@gmail.com> Date: Wed, 29 Jun 2022 13:45:40 +0200 Subject: [PATCH] Added support for click version 8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Adrián Tóth <adrian.toth@oracle.com> Signed-off-by: Adrián Tóth <adricko28@gmail.com> --- src/oci_cli/cli_root.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oci_cli/cli_root.py b/src/oci_cli/cli_root.py index c3c325ff..7094c43f 100644 --- a/src/oci_cli/cli_root.py +++ b/src/oci_cli/cli_root.py @@ -347,7 +347,7 @@ def cli(ctx, config_file, profile, cli_rc_file, request_id, region, endpoint, ce echo_help(ctx) sys.exit() - if profile == Sentinel(DEFAULT_PROFILE): + if str(profile) == str(Sentinel(DEFAULT_PROFILE)): # if --profile is not supplied, fallback accordingly: # - if OCI_CLI_PROFILE exists, use that # - if default_profile is specified in oci_cli_rc then use that -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor