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
b841b8a3
Commit
b841b8a3
authored
Jul 20, 2014
by
Ian Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed issue (line length) with kml.py that kept pep8 test from passing.
parent
ac09999b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
.travis.yml
.travis.yml
+1
-1
fastkml/kml.py
fastkml/kml.py
+5
-2
No files found.
.travis.yml
View file @
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
:
...
...
fastkml/kml.py
View file @
b841b8a3
...
...
@@ -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
)
...
...
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