Skip to content

Commit 821efcf

Browse files
committed
missing import, logger for github module
1 parent 5cdd443 commit 821efcf

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/gardenlinux/github/__main__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@
1919
import textwrap
2020
import yaml
2121
import urllib.request
22-
22+
import difflib
2323

2424
from gardenlinux.sources.kernel import get_kernel_urls
25+
from ..logger import LoggerSetup
2526

27+
LOGGER = LoggerSetup.get_logger("gardenlinux.github")
2628

2729
GARDENLINUX_GITHUB_RELEASE_BUCKET_NAME = os.environ['GITHUB_RELEASE_BUCKET_NAME']
2830

@@ -156,7 +158,7 @@ def download_all_metadata_files(version, commitish):
156158

157159
for flavor in flavors:
158160
cname = CName(flavor[1], flavor[0], "{0}-{1}".format(version, commitish))
159-
print(f'YTDBG // {flavor=} | {version=} | {commitish=} | {cname.cname=}')
161+
LOGGER.info(f'YTDBG // {flavor=} | {version=} | {commitish=} | {cname.cname=}')
160162
try:
161163
download_metadata_file(s3_artifacts, cname.cname, local_dest_path)
162164
except IndexError:

0 commit comments

Comments
 (0)