Mercurial > public > mercurial-scm > hg
comparison mercurial/hgweb.py @ 1308:2073e5a71008
Cleanup of tabs and trailing spaces.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Wed, 21 Sep 2005 07:56:19 +0200 |
parents | a1a84dd489ff |
children | 5f277e73778f |
comparison
equal
deleted
inserted
replaced
1285:1546c2aa6b30 | 1308:2073e5a71008 |
---|---|
683 | 683 |
684 if type == "gz": | 684 if type == "gz": |
685 encoding = "gzip" | 685 encoding = "gzip" |
686 else: | 686 else: |
687 encoding = "x-bzip2" | 687 encoding = "x-bzip2" |
688 req.header([('Content-type', 'application/x-tar'), | 688 req.header([('Content-type', 'application/x-tar'), |
689 ('Content-disposition', 'attachment; filename=%s%s%s' % | 689 ('Content-disposition', 'attachment; filename=%s%s%s' % |
690 (name[:-1], '.tar.', type)), | 690 (name[:-1], '.tar.', type)), |
691 ('Content-encoding', encoding)]) | 691 ('Content-encoding', encoding)]) |
692 for fname in files: | 692 for fname in files: |
693 rcont = self.repo.file(fname).read(mf[fname]) | 693 rcont = self.repo.file(fname).read(mf[fname]) |