comparison contrib/sawmill/web/details.py @ 487:f208b139190b

sawmill: Made html head elements HTML 4.01 compatible. Small tweak while finding tree packager in detail view.
author Sascha Teichmann <teichmann@intevation.de>
date Sun, 26 Sep 2010 07:43:26 +0000
parents 28aa6ac933fb
children 73a2e603a23b
comparison
equal deleted inserted replaced
486:283154e189d9 487:f208b139190b
140 if not treepkg: util.redirect(req, "index.py") 140 if not treepkg: util.redirect(req, "index.py")
141 141
142 found = None 142 found = None
143 for d in os.listdir(TREEPKG_DIR): 143 for d in os.listdir(TREEPKG_DIR):
144 dp = os.path.join(TREEPKG_DIR, d) 144 dp = os.path.join(TREEPKG_DIR, d)
145 if os.path.isdir(dp) and d == treepkg: 145 if d == treepkg and os.path.isdir(dp):
146 found = dp 146 found = dp
147 break 147 break
148 148
149 if not found: 149 if not found:
150 req.status = apache.HTTP_NOT_FOUND 150 req.status = apache.HTTP_NOT_FOUND
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)