Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9342245
D8293.id29946.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D8293.id29946.diff
View Options
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
Details
Attached
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
Attached To
D8293: arch: Use lazy interpolation in logging statements
Event Timeline
Log In to Comment