Page MenuHomeSoftware Heritage
Paste P1274

(An Untitled Masterwork)
ActivePublic

Authored by anlambert on Feb 3 2022, 3:56 PM.
diff --git a/swh/web/common/archive.py b/swh/web/common/archive.py
index e9e877f6..dca07e30 100644
--- a/swh/web/common/archive.py
+++ b/swh/web/common/archive.py
@@ -703,7 +703,7 @@ def lookup_revision_log(rev_sha1_git, limit):
"""
lookup_revision(rev_sha1_git)
sha1_git_bin = _to_sha1_bin(rev_sha1_git)
- revision_entries = storage.revision_log([sha1_git_bin], limit)
+ revision_entries = storage.revision_log([sha1_git_bin], limit=limit)
return map(converters.from_revision, revision_entries)