Mercurial > treepkg
diff contrib/sawmill/web/details.py @ 473:d8012571f9e1
sawmill: removed trailing whitespace
author | Sascha Teichmann <teichmann@intevation.de> |
---|---|
date | Fri, 10 Sep 2010 10:46:50 +0000 |
parents | 7fd8af79e652 |
children | a8f77807d710 |
line wrap: on
line diff
--- a/contrib/sawmill/web/details.py Fri Sep 10 10:18:31 2010 +0000 +++ b/contrib/sawmill/web/details.py Fri Sep 10 10:46:50 2010 +0000 @@ -83,7 +83,7 @@ if not os.path.isdir(log_dir): self.logs = [] else: - self.logs =[(_pretty_log_name(f), self.log_path(f)) + self.logs =[(_pretty_log_name(f), self.log_path(f)) for f in os.listdir(log_dir) if os.path.isfile(oj(log_dir, f)) and f.find("txt") >= 0] return self.logs @@ -110,7 +110,7 @@ status_file = os.path.join(revision_path, "status") if not os.path.isfile(status_file): continue items.append(TrackItem(treepkg, track, revision, status_file)) - + return items def __description_header(treepkg): @@ -146,8 +146,8 @@ description, header = __description_header(found) track_items = __scan_track_items(treepkg, found) - - req.content_type = 'text/html;charset=utf-8' + + req.content_type = 'text/html;charset=utf-8' template = psp.PSP(req, filename='templates/details.html') template.run({ 'base_dir': BASE_DIR,