Adapt to Python scripts to black 23.1.0

This commit is contained in:
Michal Nowak
2023-02-17 13:16:13 +01:00
parent 000f885614
commit 3cd2cc6254
11 changed files with 5 additions and 19 deletions

View File

@@ -25,7 +25,6 @@ requests = pytest.importorskip("requests")
# XML helper functions
def fetch_zones_xml(statsip, statsport):
r = requests.get(
"http://{}:{}/xml/v3/zones".format(statsip, statsport), timeout=600
)
@@ -75,7 +74,6 @@ def fetch_traffic_xml(statsip, statsport):
def load_timers_xml(zone, primary=True):
name = zone.attrib["name"]
loaded_el = zone.find("loaded")