File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -95,10 +95,10 @@ def get_apps_ip(self):
95
95
96
96
def _resolve_version (self ):
97
97
if self .ocp_version is None :
98
- capture = run ([self .installer , "version" ], capture_output = True )
98
+ capture = run ([self .installer , "version" ], capture_output = True , check = False )
99
99
ver_string = capture .stdout .decode ("utf-8" ).splitlines ()[0 ].split (' ' )[1 ]
100
100
self .ocp_version = ver_string
101
- logging .info (f "Resolved installed version as { self .ocp_version } " )
101
+ logging .info ("Resolved installed version as %s" , self .ocp_version )
102
102
103
103
def _resolve_network_type (self ):
104
104
self ._resolve_version ()
Original file line number Diff line number Diff line change @@ -73,7 +73,8 @@ disable=raw-checker-failed,
73
73
unused-private-member,
74
74
missing-timeout,
75
75
unnecessary-dunder-call,
76
- use-dict-literal
76
+ use-dict-literal,
77
+ broad-exception-raised # TODO fix this in next release
77
78
78
79
# Enable the message, report, category or checker with the given id(s). You can
79
80
# either give multiple identifier separated by comma (,) or put this option
@@ -506,5 +507,5 @@ valid-metaclass-classmethod-first-arg=cls
506
507
507
508
# Exceptions that will emit a warning when being caught. Defaults to
508
509
# "BaseException, Exception".
509
- overgeneral-exceptions =BaseException,
510
- Exception
510
+ overgeneral-exceptions =builtins. BaseException,
511
+ builtins. Exception
You can’t perform that action at this time.
0 commit comments