fixeria submitted this change.
[pylint] osmopy/obscvty.py: fix E1130 (invalid-unary-operand-type)
This is not really a problem. Just making pylint happy.
Change-Id: I32b637fdc0941d051e80e677857321b861ae0c20
---
M osmopy/obscvty.py
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/osmopy/obscvty.py b/osmopy/obscvty.py
index 5789f98..8228bda 100755
--- a/osmopy/obscvty.py
+++ b/osmopy/obscvty.py
@@ -191,7 +191,7 @@
if close:
self._close_socket()
- return res[len(request) + 2: -end]
+ return res[len(request) + 2: end * -1]
"""A generator function yielding lines separated by delim.
Behaves similar to a file readlines() method.
To view, visit change 37538. To unsubscribe, or for help writing mail filters, visit settings.