Change in ...osmocom-bb[master]: trx_toolkit/data_msg.py: drop double field initialization

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
Mon Jun 24 14:18:10 UTC 2019


fixeria has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmocom-bb/+/14573 )

Change subject: trx_toolkit/data_msg.py: drop double field initialization
......................................................................

trx_toolkit/data_msg.py: drop double field initialization

Those fields are being initialized by __init__().

Change-Id: Ibf71be552a7eb5dab1d096421a8557514294683e
---
M src/target/trx_toolkit/data_msg.py
1 file changed, 0 insertions(+), 5 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  fixeria: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/target/trx_toolkit/data_msg.py b/src/target/trx_toolkit/data_msg.py
index 5cfb745..f14c295 100644
--- a/src/target/trx_toolkit/data_msg.py
+++ b/src/target/trx_toolkit/data_msg.py
@@ -28,11 +28,6 @@
 from gsm_shared import *
 
 class DATAMSG:
-	# Common message fields
-	burst = None
-	fn = None
-	tn = None
-
 	# Common constructor
 	def __init__(self, fn = None, tn = None, burst = None):
 		self.burst = burst

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

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: Ibf71be552a7eb5dab1d096421a8557514294683e
Gerrit-Change-Number: 14573
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190624/8f13f297/attachment.htm>


More information about the gerrit-log mailing list