Skip to content
Snippets Groups Projects
Commit 2478e9c0 authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Correct string representation output in the traceback when we cannot locate a...

Correct string representation output in the traceback when we cannot locate a specific item in a container.
parent 2280df55
No related branches found
No related tags found
No related merge requests found
...@@ -259,7 +259,7 @@ class LibarchiveContainer(Archive): ...@@ -259,7 +259,7 @@ class LibarchiveContainer(Archive):
for entry in archive: for entry in archive:
if entry.pathname == member_name: if entry.pathname == member_name:
return self.get_subclass(entry) return self.get_subclass(entry)
raise KeyError('%s not found in archive', member_name) raise KeyError('%s not found in archive' % member_name)
def get_filtered_members(self): def get_filtered_members(self):
try: try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment