# generated from an SGML or an XML application.
import errno
-import esistools
import os
import re
import string
from xml.sax.saxutils import escape
+import esistools
+
AUTOCLOSE = ()
append('%s="%s"' % (name, escape(value)))
if parts:
parts.insert(0, '')
- return string.join(parts)
+ return " ".join(parts)
_nmtoken_rx = re.compile("[a-z][-._a-z0-9]*$", re.IGNORECASE)
fp = open(EMPTIES_FILENAME, "w")
gilist = d.keys()
gilist.sort()
- fp.write(string.join(gilist, "\n"))
+ fp.write("\n".join(gilist))
fp.write("\n")
fp.close()