equal
deleted
inserted
replaced
242 |
242 |
243 up = virtual.rfind('/') |
243 up = virtual.rfind('/') |
244 if up < 0: |
244 if up < 0: |
245 break |
245 break |
246 virtual = virtual[:up] |
246 virtual = virtual[:up] |
247 |
247 |
248 req.write(tmpl("notfound", repo=virtual)) |
248 req.write(tmpl("notfound", repo=virtual)) |
249 else: |
249 else: |
250 if req.form.has_key('static'): |
250 if req.form.has_key('static'): |
251 static = os.path.join(templater.templatepath(), "static") |
251 static = os.path.join(templater.templatepath(), "static") |
252 fname = req.form['static'][0] |
252 fname = req.form['static'][0] |