diff options
author | Peter Simons <simons@cryp.to> | 2009-08-01 11:47:14 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2009-08-01 11:47:14 +0200 |
commit | ba53e70b46214d6e9632a6f6fe6d8a401f6dc93a (patch) | |
tree | eee47e45ab40e6913fb93782239e09116c1003cf /macro.py | |
parent | 1b2c43c2e108c74e57e55729fc6e14654b584300 (diff) | |
download | autoconf-archive-ba53e70b46214d6e9632a6f6fe6d8a401f6dc93a.tar.gz |
macro2html.py: add an appropriate message to the HTML pages of obsolete macros
Diffstat (limited to 'macro.py')
-rwxr-xr-x | macro.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -104,9 +104,10 @@ class Macro: raise Exception("%s: malformed license section" % filePath) body = collapseText(body) elif key == "obsolete macro": - key = "obsolete" if '' in body: raise Exception("%s: malformed obsoleted section" % filePath) + key = "obsolete" + body = collapseText(body) elif key == "description": body = collapseText(body) else: |