Adapt to Python scripts to black 23.1.0
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user