Commit e9bcd935 authored by Christian Ledermann's avatar Christian Ledermann

fix test for python 3.2

parent 7f35ca3a
......@@ -34,9 +34,9 @@ This library only implements a subset of Atom that is useful with KML
import logging
logger = logging.getLogger('fastkml.atom')
from config import etree
from config import ATOMNS as NS
from config import LXML
from .config import etree
from .config import ATOMNS as NS
from .config import LXML
import re
regex = r"^[a-zA-Z0-9._%-]+@([a-zA-Z0-9-]+\.)*[a-zA-Z]{2,4}$"
......
......@@ -18,8 +18,12 @@
""" abstract base classes"""
import config
from config import etree
try:
import fastkml.config as config
except ImportError:
import config
from .config import etree
......
......@@ -40,10 +40,14 @@ except ImportError:
from pygeoif.geometry import GeometryCollection
from pygeoif.geometry import as_shape as asShape
import config
from config import etree
try:
import fastkml.config as config
except ImportError:
import config
from .config import etree
from base import _BaseObject
from .base import _BaseObject
import logging
logger = logging.getLogger('fastkml.geometry')
......
......@@ -76,9 +76,9 @@ located at http://developers.google.com/kml/schema/kml22gx.xsd.
import logging
logger = logging.getLogger('fastkml.gx')
from config import etree
from config import GXNS as NS
from config import LXML
from .config import etree
from .config import GXNS as NS
from .config import LXML
......@@ -50,13 +50,13 @@ from .base import _BaseObject
from .styles import StyleUrl, Style, StyleMap, _StyleSelector
try:
import atom
import gx
import config
except ImportError:
import fastkml.atom as atom
import fastkml.gx as gx
import fastkml.config as config
except ImportError:
import atom
import gx
import config
try:
unicode
......
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