summaryrefslogtreecommitdiff
path: root/macro.py
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2010-06-04 14:07:53 +0200
committerPeter Simons <simons@cryp.to>2010-06-04 14:08:05 +0200
commitd5b2a88b2e212d447ac8e783bbbdde70eb079adc (patch)
tree7ea79f1be81b8cbe754076581f8fb1995571fdc1 /macro.py
parent53afa976c7c1a3a513f03adbaf28762db97f03b2 (diff)
downloadautoconf-archive-d5b2a88b2e212d447ac8e783bbbdde70eb079adc.tar.gz
macro.py: dropped computation of the obsolete m4header variable
It's not used anywhere anymore.
Diffstat (limited to 'macro.py')
-rwxr-xr-xmacro.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/macro.py b/macro.py
index ca697da..d8192cf 100755
--- a/macro.py
+++ b/macro.py
@@ -73,11 +73,6 @@ class Macro:
header = map(lambda l: l[2:], header.split('\n'))
# set defaults
self.authors = []
- url = "http://www.nongnu.org/autoconf-archive/%s" % (self.name + ".html")
- lineLen = max(75,len(url) + 2)
- separator = '=' * lineLen
- padding = ' ' * ((lineLen - len(url)) / 2)
- self.m4header = "# %s\n"*3 % (separator, padding + url, separator)
# parse each section in the remaining list
for (key, body) in splitSections(header):
# drop empty lines at beginning and end of body