Commit c564dcf1 by btimby

Don't store methods as attributes.

parent e0b3a3bb
......@@ -165,7 +165,10 @@ class ArchiveFS(FS):
elif attr == 'mode':
info['st_mode'] = entry.mode
else:
info[attr] = getattr(entry, attr)
value = getattr(entry, attr)
if callable(value):
continue
info[attr] = value
return info
def getsize(self, path):
......
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