ToastFreeware
/
philipp
/
winterrodeln
/
wrpylib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test for create_wrmap now passes.
[philipp/winterrodeln/wrpylib.git]
/
wrpylib
/
wrmwmarkup.py
diff --git
a/wrpylib/wrmwmarkup.py
b/wrpylib/wrmwmarkup.py
index b25ef636bfb38dd546cbbdd6c12be1052567a4c7..715dbac2fe8307a34a6d82633c6a15f1d3145d7d 100644
(file)
--- a/
wrpylib/wrmwmarkup.py
+++ b/
wrpylib/wrmwmarkup.py
@@
-537,8
+537,7
@@
def create_wrmap(geojson):
feature_xml.attrib = json_feature['properties']
del feature_xml.attrib['type']
feature_xml.attrib = json_feature['properties']
del feature_xml.attrib['type']
- print last_json_feature.tag
if last_json_feature is not None:
last_json_feature.tail = '\n\n'
if last_json_feature is not None:
last_json_feature.tail = '\n\n'
- return xml.etree.ElementTree.tostring(wrmap_xml, encoding='utf-8')
+ return xml.etree.ElementTree.tostring(wrmap_xml, encoding='utf-8')
.decode('utf-8')