Page MenuHomeSoftware Heritage

D8293.id29946.diff
No OneTemporary

D8293.id29946.diff

diff --git a/swh/lister/arch/lister.py b/swh/lister/arch/lister.py
--- a/swh/lister/arch/lister.py
+++ b/swh/lister/arch/lister.py
@@ -175,8 +175,8 @@
m = arch_rex.match(filename)
if m is None:
logger.error(
- "Can not find a match for architecture in %(filename)s"
- % dict(filename=filename)
+ "Can not find a match for architecture in %(filename)s",
+ dict(filename=filename),
)
else:
arch = m.group("arch")
@@ -191,7 +191,8 @@
if s is None:
logger.error(
"Can not find a match for 'last_modified' and/or "
- "'size' in '%(raw_text)s'" % dict(raw_text=raw_text)
+ "'size' in '%(raw_text)s'",
+ dict(raw_text=raw_text),
)
else:
assert s.groups()
@@ -358,14 +359,14 @@
logger.debug(
"Processing %(instance)s source packages info from "
"%(flavour)s %(arch)s %(repo)s repository, "
- "(%(qty)s packages)."
- % dict(
+ "(%(qty)s packages).",
+ dict(
instance=self.instance,
flavour=name,
arch=arch,
repo=repo,
qty=len(packages_desc),
- )
+ ),
)
for package_desc in packages_desc:

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 3, 12:34 PM (2 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3226490

Event Timeline