Change in osmocom-bb[master]: trx_toolkit/udp_link.py: cosmetic: setblocking() takes bool

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

fixeria gerrit-no-reply at lists.osmocom.org
Sat Mar 13 23:58:57 UTC 2021


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmocom-bb/+/23362 )


Change subject: trx_toolkit/udp_link.py: cosmetic: setblocking() takes bool
......................................................................

trx_toolkit/udp_link.py: cosmetic: setblocking() takes bool

Change-Id: I9c4fa8cb7c237f3b9e34ba236b6507da5c668aee
---
M src/target/trx_toolkit/udp_link.py
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/62/23362/1

diff --git a/src/target/trx_toolkit/udp_link.py b/src/target/trx_toolkit/udp_link.py
index 0602694..43a4815 100644
--- a/src/target/trx_toolkit/udp_link.py
+++ b/src/target/trx_toolkit/udp_link.py
@@ -28,7 +28,7 @@
 		self.sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
 		self.sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
 		self.sock.bind((bind_addr, bind_port))
-		self.sock.setblocking(0)
+		self.sock.setblocking(False)
 
 		# Save remote info
 		self.remote_addr = remote_addr

-- 
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/23362
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I9c4fa8cb7c237f3b9e34ba236b6507da5c668aee
Gerrit-Change-Number: 23362
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210313/5430822f/attachment.htm>


More information about the gerrit-log mailing list