← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Merge] ~uralt/autopkgtest-cloud:ci-fix into autopkgtest-cloud:master

 

Ural Tunaboyu has proposed merging ~uralt/autopkgtest-cloud:ci-fix into autopkgtest-cloud:master.

Requested reviews:
  Canonical's Ubuntu QA (canonical-ubuntu-qa)

For more details, see:
https://code.launchpad.net/~uralt/autopkgtest-cloud/+git/autopkgtest-cloud/+merge/480742
-- 
Your team Canonical's Ubuntu QA is requested to review the proposed merge of ~uralt/autopkgtest-cloud:ci-fix into autopkgtest-cloud:master.
diff --git a/charms/focal/autopkgtest-web/webcontrol/autopkgtest-stats b/charms/focal/autopkgtest-web/webcontrol/autopkgtest-stats
index 27b58be..0e116b8 100755
--- a/charms/focal/autopkgtest-web/webcontrol/autopkgtest-stats
+++ b/charms/focal/autopkgtest-web/webcontrol/autopkgtest-stats
@@ -4,7 +4,6 @@ import argparse
 import json
 import logging
 import os
-from pathlib import Path
 from time import sleep
 
 from helpers.utils import (
diff --git a/charms/focal/autopkgtest-web/webcontrol/cache-ppa-containers b/charms/focal/autopkgtest-web/webcontrol/cache-ppa-containers
index bba0463..7ca77b4 100755
--- a/charms/focal/autopkgtest-web/webcontrol/cache-ppa-containers
+++ b/charms/focal/autopkgtest-web/webcontrol/cache-ppa-containers
@@ -1,7 +1,6 @@
 #!/usr/bin/python3
 
 import json
-from pathlib import Path
 
 from helpers.utils import get_ppa_containers_cache, swift_connect
 
diff --git a/charms/focal/autopkgtest-web/webcontrol/helpers/utils.py b/charms/focal/autopkgtest-web/webcontrol/helpers/utils.py
index e1f9700..e601bbc 100644
--- a/charms/focal/autopkgtest-web/webcontrol/helpers/utils.py
+++ b/charms/focal/autopkgtest-web/webcontrol/helpers/utils.py
@@ -137,7 +137,9 @@ def get_stats_cache():
 
     :return path: ``pathlib.Path``
     """
-    return Path(get_autopkgtest_cloud_conf()["web"]["stats_cache_dir"]).expanduser()
+    return Path(
+        get_autopkgtest_cloud_conf()["web"]["stats_cache_dir"]
+    ).expanduser()
 
 
 def get_ppa_containers_cache():
@@ -146,7 +148,9 @@ def get_ppa_containers_cache():
 
     :return path: ``pathlib.Path``
     """
-    return Path(get_autopkgtest_cloud_conf()["web"]["ppa_containers_cache_dir"]).expanduser()
+    return Path(
+        get_autopkgtest_cloud_conf()["web"]["ppa_containers_cache_dir"]
+    ).expanduser()
 
 
 def get_all_releases():