From ab7e7465f5f083995c26cf61b11b4974d1464c71 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Tue, 21 Jun 2016 10:01:35 +0200 Subject: [PATCH] Fix 'directory' type when iterating tar archives without index 'dir' is not used anywhere in the code base. --- deltatar/deltatar.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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' -- 1.7.1