From: Thomas Jarosch Date: Tue, 21 Jun 2016 08:01:35 +0000 (+0200) Subject: Fix 'directory' type when iterating tar archives without index X-Git-Tag: v2.2~21 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=ab7e7465f5f083995c26cf61b11b4974d1464c71;p=python-delta-tar Fix 'directory' type when iterating tar archives without index 'dir' is not used anywhere in the code base. --- diff --git a/deltatar/deltatar.py b/deltatar/deltatar.py index 865841e..cc23a58 100644 --- a/deltatar/deltatar.py +++ b/deltatar/deltatar.py @@ -1018,7 +1018,7 @@ class DeltaTar(object): if tarinfo.isfile(): ptype = 'file' elif tarinfo.isdir(): - ptype = 'dir' + ptype = 'directory' elif tarinfo.islnk() or tarinfo.issym(): ptype = 'link'