fixeria has submitted this change. ( 
https://gerrit.osmocom.org/c/python/osmo-python-tests/+/37538?usp=email )

Change subject: [pylint] osmopy/obscvty.py: fix E1130 
(invalid-unary-operand-type)
......................................................................

[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(-)

Approvals:
  Jenkins Builder: Verified
  osmith: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve




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 
https://gerrit.osmocom.org/c/python/osmo-python-tests/+/37538?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: python/osmo-python-tests
Gerrit-Branch: master
Gerrit-Change-Id: I32b637fdc0941d051e80e677857321b861ae0c20
Gerrit-Change-Number: 37538
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to