summaryrefslogtreecommitdiffstats
path: root/Doc/tools/support.py
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/tools/support.py')
-rw-r--r--Doc/tools/support.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/tools/support.py b/Doc/tools/support.py
index bc17c6e..b96c4dd 100644
--- a/Doc/tools/support.py
+++ b/Doc/tools/support.py
@@ -8,7 +8,6 @@ __version__ = '$Revision$'
import getopt
-import string
import sys
@@ -71,7 +70,7 @@ class Options:
self.args = self.args + args
for opt, val in opts:
if opt in ("-a", "--address"):
- val = string.strip(val)
+ val = val.strip()
if val:
val = "<address>\n%s\n</address>\n" % val
self.variables["address"] = val