Skip to content

Commit 9d9aeff

Browse files
committed
make ruff happy
1 parent 9ef6508 commit 9d9aeff

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/warnet/bitcoin.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
from io import BytesIO
66

77
import click
8+
from urllib3.exceptions import MaxRetryError
9+
810
from test_framework.messages import ser_uint256
911
from test_framework.p2p import MESSAGEMAP
10-
from urllib3.exceptions import MaxRetryError
1112

1213
from .k8s import get_default_namespace, get_mission
1314
from .process import run_command

src/warnet/k8s.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,8 @@ def write_file_to_container(pod_name, container_name, dst_path, data):
353353
return True
354354
except Exception as e:
355355
print(f"Failed to copy data to {pod_name}({container_name}):{dst_path}:\n{e}")
356+
357+
356358
def get_kubeconfig_value(jsonpath):
357359
command = f"kubectl config view --minify -o jsonpath={jsonpath}"
358360
return run_command(command)

0 commit comments

Comments
 (0)