Commit 272c6d25 authored by Christian Ledermann's avatar Christian Ledermann

Merge pull request #14 from IanLee1521/master

Fixed issue (line length) with kml.py that kept pep8 test from passing.
parents ac09999b b841b8a3
......@@ -17,7 +17,7 @@ install:
# command to run tests, e.g. python setup.py test
script:
# - pep8 --exclude test_main.py fastkml
- pep8 --exclude test_main.py fastkml
- coverage run --source=fastkml setup.py test
after_success:
......
......@@ -577,7 +577,9 @@ class _Container(_Feature):
yield feature
else:
raise TypeError(
"Features must be instances of (Folder, Placemark, Document)")
"Features must be instances of "
"(Folder, Placemark, Document)"
)
def etree_element(self):
element = super(_Container, self).etree_element()
......@@ -591,7 +593,8 @@ class _Container(_Feature):
self._features.append(kmlobj)
else:
raise TypeError(
"Features must be instances of (Folder, Placemark, Document)"
"Features must be instances of "
"(Folder, Placemark, Document)"
)
assert(kmlobj != self)
......
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