Commit 2478e9c0 authored by Chris Lamb's avatar Chris Lamb 💬

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
......@@ -259,7 +259,7 @@ class LibarchiveContainer(Archive):
for entry in archive:
if entry.pathname == member_name:
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):
try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment