Change in osmocom-bb[master]: trx_toolkit/data_msg.py: use tuple for DATAMSG.known_versions

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
Fri Feb 26 21:28:19 UTC 2021


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


Change subject: trx_toolkit/data_msg.py: use tuple for DATAMSG.known_versions
......................................................................

trx_toolkit/data_msg.py: use tuple for DATAMSG.known_versions

Change-Id: I79de5fe478297e1850d9582426888411a0189d3f
Related: OS#4006, SYS#4895
---
M src/target/trx_toolkit/data_msg.py
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/33/23133/1

diff --git a/src/target/trx_toolkit/data_msg.py b/src/target/trx_toolkit/data_msg.py
index 15c310a..19bd8dd 100644
--- a/src/target/trx_toolkit/data_msg.py
+++ b/src/target/trx_toolkit/data_msg.py
@@ -121,7 +121,7 @@
 
 	# NOTE: up to 16 versions can be encoded
 	CHDR_VERSION_MAX = 0b1111
-	known_versions = [0x00, 0x01]
+	known_versions = (0, 1)
 
 	def __init__(self, fn = None, tn = None, burst = None, ver = 0):
 		self.burst = burst

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

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I79de5fe478297e1850d9582426888411a0189d3f
Gerrit-Change-Number: 23133
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/20210226/8f4e1516/attachment.htm>


More information about the gerrit-log mailing list