Commit 77223135 authored by Stefan Behnel's avatar Stefan Behnel

remove dead code

parent be4f9fb5
from __future__ import with_statement from __future__ import absolute_import
import os import os
import sys import sys
...@@ -10,24 +10,14 @@ try: ...@@ -10,24 +10,14 @@ try:
except ImportError: except ImportError:
have_lxml = False have_lxml = False
try: try:
# Python 2.5
from xml.etree import cElementTree as etree from xml.etree import cElementTree as etree
except ImportError: except ImportError:
try: try:
# Python 2.5
from xml.etree import ElementTree as etree from xml.etree import ElementTree as etree
except ImportError:
try:
# normal cElementTree install
import cElementTree as etree
except ImportError:
try:
# normal ElementTree install
import elementtree.ElementTree as etree
except ImportError: except ImportError:
etree = None etree = None
from Cython.Compiler import Errors from ..Compiler import Errors
class CythonDebugWriter(object): class CythonDebugWriter(object):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment