Skip to content

Commit 9bce869

Browse files
committed
Switching print statement to use legacy .format() method, in order to maintain backwards-compatibility with pre-3.6 Python versions
1 parent 8e4c5eb commit 9bce869

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ def load_config(**kwargs):
3131
if "kube_config_path" in kwargs.keys() or os.path.exists(KUBE_CONFIG_DEFAULT_LOCATION):
3232
load_kube_config(**kwargs)
3333
else:
34-
print(f"kube_config_path not provided and default location ({KUBE_CONFIG_DEFAULT_LOCATION}) does not exist. "
35-
"Using inCluster Config. This might not work.")
34+
print("kube_config_path not provided and default location ({0}) does not exist. "
35+
"Using inCluster Config. This might not work.".format(KUBE_CONFIG_DEFAULT_LOCATION))
3636
load_incluster_config(**kwargs)

0 commit comments

Comments
 (0)