diff options
Diffstat (limited to 'Lib/xml/sax/__init__.py')
-rw-r--r-- | Lib/xml/sax/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/xml/sax/__init__.py b/Lib/xml/sax/__init__.py index f119d84..6b1b1ba 100644 --- a/Lib/xml/sax/__init__.py +++ b/Lib/xml/sax/__init__.py @@ -58,14 +58,14 @@ _false = 0 if _false: import xml.sax.expatreader -import os, string, sys +import os, sys if os.environ.has_key("PY_SAX_PARSER"): - default_parser_list = string.split(os.environ["PY_SAX_PARSER"], ",") + default_parser_list = os.environ["PY_SAX_PARSER"].split(",") del os _key = "python.xml.sax.parser" if sys.platform[:4] == "java" and sys.registry.containsKey(_key): - default_parser_list = string.split(sys.registry.getProperty(_key), ",") + default_parser_list = sys.registry.getProperty(_key).split(",") def make_parser(parser_list = []): |