Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fastkml
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Aurélien Vermylen
fastkml
Commits
e9bcd935
Commit
e9bcd935
authored
Nov 15, 2012
by
Christian Ledermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix test for python 3.2
parent
7f35ca3a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
15 deletions
+23
-15
fastkml/atom.py
fastkml/atom.py
+3
-3
fastkml/base.py
fastkml/base.py
+6
-2
fastkml/geometry.py
fastkml/geometry.py
+7
-3
fastkml/gx.py
fastkml/gx.py
+3
-3
fastkml/kml.py
fastkml/kml.py
+4
-4
No files found.
fastkml/atom.py
View file @
e9bcd935
...
...
@@ -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}$"
...
...
fastkml/base.py
View file @
e9bcd935
...
...
@@ -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
...
...
fastkml/geometry.py
View file @
e9bcd935
...
...
@@ -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'
)
...
...
fastkml/gx.py
View file @
e9bcd935
...
...
@@ -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
fastkml/kml.py
View file @
e9bcd935
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment