summaryrefslogtreecommitdiff
path: root/dedup/arreader.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2014-07-22 08:56:42 +0200
committerHelmut Grohne <helmut@subdivi.de>2014-07-22 08:56:42 +0200
commit04597f25729740406775a3dff528c9774c84efd5 (patch)
treefe905fc94afbdcfad60d5aaf88886a1f10f92a8c /dedup/arreader.py
parentba9ae116e0bbb25e2df327ba48c82472ccfa2690 (diff)
parentd48c3c208ee6ba54225b3eb68ce5c9f3c894bfa4 (diff)
downloaddebian-dedup-04597f25729740406775a3dff528c9774c84efd5.tar.gz
Merge branch master into multiarch
Resolve accumulated conflicts. In particular webapp.py gained a few non-trivial ones, such as changes in InternalRedirect or usage of contextlib.closing. Conflicts: schema.sql webapp.py
Diffstat (limited to 'dedup/arreader.py')
-rw-r--r--dedup/arreader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dedup/arreader.py b/dedup/arreader.py
index d74ae37..e53efd9 100644
--- a/dedup/arreader.py
+++ b/dedup/arreader.py
@@ -45,7 +45,7 @@ class ArReader(object):
if not file_header:
raise EOFError("end of archive found")
parts = struct.unpack("16s 12s 6s 6s 8s 10s 2s", file_header)
- parts = [p.rstrip(b" ") for p in parts]
+ parts = [p.rstrip(b"/ ") for p in parts]
if parts.pop() != self.file_magic:
raise ValueError("ar file header not found")
self.remaining = int(parts[5])