Skip to content

Commit

Permalink
linting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
andersson1234 committed Jan 31, 2024
1 parent 2723748 commit 596da39
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions metrics/collectors/images/images_collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import tempfile

from launchpadlib.launchpad import Launchpad

from metrics.lib.basemetric import Metric

RSYNC_SERVER_REQUESTS = [
Expand Down Expand Up @@ -56,7 +57,7 @@ def rsync_list_images(self):
return rsync

def collect(self):
""" Collect the daily images details"""
"""Collect the daily images details"""
data = []

rsync_cmd_output = self.rsync_list_images()
Expand All @@ -83,7 +84,9 @@ def collect(self):
elif path_table[0] in self.active_series:
flavor = "ubuntu"
# or with 'daily-live'
elif path_table[0] == "daily-live" or path_table == "daily-preinstalled":
elif (
path_table[0] == "daily-live" or path_table == "daily-preinstalled"
):
flavor = "ubuntu"
# otherwise it starts with the flavor
else:
Expand Down

0 comments on commit 596da39

Please sign in to comment.