[PATCH] osmocom-bb[master]: fake_trx/burst_send.py: indicate actual burst source

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Thu Feb 22 15:33:38 UTC 2018


Review at  https://gerrit.osmocom.org/6820

fake_trx/burst_send.py: indicate actual burst source

Change-Id: I7e45996f4a7a2aacc962ff9b65107c6b04e7bf68
---
M src/target/fake_trx/burst_send.py
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/20/6820/1

diff --git a/src/target/fake_trx/burst_send.py b/src/target/fake_trx/burst_send.py
index bed6b44..a8519ed 100755
--- a/src/target/fake_trx/burst_send.py
+++ b/src/target/fake_trx/burst_send.py
@@ -67,8 +67,10 @@
 
 		# Open the burst source (file or stdin)
 		if self.burst_src is not None:
+			print("[i] Reading bursts from file '%s'..." % self.burst_src)
 			src = open(self.burst_src, "r")
 		else:
+			print("[i] Reading bursts from stdin...")
 			src = sys.stdin
 
 		# Generate a random frame number or use provided one

-- 
To view, visit https://gerrit.osmocom.org/6820
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7e45996f4a7a2aacc962ff9b65107c6b04e7bf68
Gerrit-PatchSet: 1
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list