# # # patch "www/viewmtn/wrapper.py" # from [9800b8a1b0a43056637ce2ede18dcc7c44657ec5] # to [cd3ff74a3fe52d4a7d759f19d1919132dbae35c0] # ============================================================ --- www/viewmtn/wrapper.py 9800b8a1b0a43056637ce2ede18dcc7c44657ec5 +++ www/viewmtn/wrapper.py cd3ff74a3fe52d4a7d759f19d1919132dbae35c0 @@ -138,7 +138,7 @@ def get_tar(req, vars): req.headers_out["Content-Disposition"] = "attachment; filename=%s" % tar_file_name tf = tarfile.open(mode="w", fileobj=tar_file) for t in mt.manifest_of(id)['file']: - for fileid, filename in (t[3], t[1]): + for fileid, filename in [(t[3], t[1])]: data = mt.file(fileid) ti = tarfile.TarInfo() ti.mode = 00700