kirr has uploaded this change for review.

View Change

trx_toolkit/data_msg: Remove burst from *Msg constructor arguments

Grepping through whole codebase does not reveal any place which invokes *Msg(burst=...).
Sonn we will add type to burst and it will be different types for TxMsg and RxMsg.

Adjust *Msg signature not to accept any burst argument as a preparatory
step for that.

Change-Id: I189956fdc0591ec64c09d4c7e1e3659dfc630fc0
---
M src/target/trx_toolkit/data_msg.pyx
1 file changed, 2 insertions(+), 2 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/74/40074/1
diff --git a/src/target/trx_toolkit/data_msg.pyx b/src/target/trx_toolkit/data_msg.pyx
index ccbdd71..4b59fce 100644
--- a/src/target/trx_toolkit/data_msg.pyx
+++ b/src/target/trx_toolkit/data_msg.pyx
@@ -77,8 +77,8 @@
CHDR_VERSION_MAX = 0b1111
KNOWN_VERSIONS = tuple(range(KNOWN_VERSION_MAX+1))

- def __init__(self, fn = None, tn = None, burst = None, ver = 0):
- self.burst = burst # bytes|bytearray for ubit, array[b] for sbit, array[B] for usbit
+ def __init__(self, fn = None, tn = None, ver = 0):
+ self.burst = None # bytes|bytearray for ubit, array[b] for sbit, array[B] for usbit
self.ver = ver
self.fn = fn
self.tn = tn

To view, visit change 40074. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I189956fdc0591ec64c09d4c7e1e3659dfc630fc0
Gerrit-Change-Number: 40074
Gerrit-PatchSet: 1
Gerrit-Owner: kirr <kirr@nexedi.com>
Gerrit-CC: fixeria <vyanitskiy@sysmocom.de>
Gerrit-CC: osmith <osmith@sysmocom.de>
Gerrit-CC: pespin <pespin@sysmocom.de>