mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-05-07 13:32:37 +00:00
Upgrade black version (#424)
Upgrade black version SUMMARY Move off of beta version of black and pin to current calendar year version. The only manual changes here are to tox.ini. Everything else is from running the new version of black. ISSUE TYPE COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Abhijeet Kasurde <None>
This commit is contained in:
@@ -473,9 +473,11 @@ class K8sAnsibleMixin(object):
|
||||
if result_empty(result):
|
||||
res = dict(resources=[], api_found=True)
|
||||
if last_exception is not None:
|
||||
res["msg"] = (
|
||||
"Exception '%s' raised while trying to get resource using %s"
|
||||
% (last_exception, params)
|
||||
res[
|
||||
"msg"
|
||||
] = "Exception '%s' raised while trying to get resource using %s" % (
|
||||
last_exception,
|
||||
params,
|
||||
)
|
||||
return res
|
||||
|
||||
|
||||
Reference in New Issue
Block a user