Mercurial > p > roundup > code
view website/issues/detectors/no_texthtml.py @ 7281:194093011cb7
Move upgrade directions for version < 1.5.0 to history document
The upgrading doc is huge. Most people don't need docs more than 10
years old. Move docs for versions less than 1.5.0 (July 2013) to
upgrading-history.txt.
Probably could cut this back to 5 years (1.6.0 release in 2018)
but lets go with 10 for now.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 25 Apr 2023 17:24:32 -0400 |
| parents | 0942fe89e82e |
| children |
line wrap: on
line source
def audit_html_files(db, cl, nodeid, newvalues): if 'type' in newvalues and newvalues['type'] == 'text/html': newvalues['type'] = 'text/plain' def init(db): db.file.audit('set', audit_html_files) db.file.audit('create', audit_html_files)
