diff options
| author | scoder <none@none> | 2007-02-25 13:30:24 +0100 |
|---|---|---|
| committer | scoder <none@none> | 2007-02-25 13:30:24 +0100 |
| commit | 4f9ba67f99ca81dc175caf3ad8f74fb5b45b15e2 (patch) | |
| tree | 9604bf36c403f74e5b8a4264b58a0293df49a863 /src | |
| parent | 3cd3eca390a4b6d525075b15ba5d265bd8e632de (diff) | |
| download | python-lxml-4f9ba67f99ca81dc175caf3ad8f74fb5b45b15e2.tar.gz | |
[svn r2158] use relative imports for (lxml.)etree
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/lxml/ElementInclude.py | 3 | ||||
| -rw-r--r-- | src/lxml/sax.py | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/lxml/ElementInclude.py b/src/lxml/ElementInclude.py index 193c4535..52fcaeb7 100644 --- a/src/lxml/ElementInclude.py +++ b/src/lxml/ElementInclude.py @@ -45,8 +45,7 @@ # Limited XInclude support for the ElementTree package. ## -import copy -from lxml import etree +import copy, etree try: set diff --git a/src/lxml/sax.py b/src/lxml/sax.py index 24c10828..a2cbe46d 100644 --- a/src/lxml/sax.py +++ b/src/lxml/sax.py @@ -1,5 +1,5 @@ from xml.sax.handler import ContentHandler -from lxml.etree import ElementTree, Element, SubElement, LxmlError +from etree import ElementTree, Element, SubElement, LxmlError class SaxError(LxmlError): pass |
