Fix Pylint warnings.

This commit is contained in:
Sergey Vartanov 2021-11-08 02:21:34 +03:00
parent 11596c4cd8
commit 868a417afc
19 changed files with 137 additions and 148 deletions

View file

@ -51,8 +51,8 @@ def get_osm(
"Cannot download data: too many nodes (limit is 50000). Try "
"to request smaller area."
)
else:
raise NetworkError("Cannot download data.")
raise NetworkError("Cannot download data.")
with cache_file_path.open("bw+") as output_file:
output_file.write(content)