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/.
ptrkrysik gerrit-no-reply at lists.osmocom.orgptrkrysik has submitted this change. ( https://gerrit.osmocom.org/c/gr-gsm/+/24090 )
Change subject: Print the error message on stderr in a python2 compatible way
......................................................................
Print the error message on stderr in a python2 compatible way
Change-Id: Iaea1510b02a2df924ef9777d107d22c45cb37d12
---
M apps/grgsm_decode
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
ptrkrysik: Looks good to me, approved; Verified
diff --git a/apps/grgsm_decode b/apps/grgsm_decode
index d754fc7..000440f 100755
--- a/apps/grgsm_decode
+++ b/apps/grgsm_decode
@@ -369,7 +369,7 @@
parser.error("Invalid A5 version\n")
if options.cfile and (options.fc is None and options.arfcn is None):
- print("You haven't provided a frequency or an ARFCN - working without automatic frequency offset correction.\n", file=sys.stderr)
+ sys.stderr.write("You haven't provided a frequency or an ARFCN - working without automatic frequency offset correction.\n")
# handle frequency / arfcn input
arfcn = None
--
To view, visit https://gerrit.osmocom.org/c/gr-gsm/+/24090
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: gr-gsm
Gerrit-Branch: master
Gerrit-Change-Id: Iaea1510b02a2df924ef9777d107d22c45cb37d12
Gerrit-Change-Number: 24090
Gerrit-PatchSet: 1
Gerrit-Owner: ptrkrysik <ptrkrysik at gmail.com>
Gerrit-Reviewer: ptrkrysik <ptrkrysik at gmail.com>
Gerrit-Reviewer: vvvelichkov <vvvelichkov at gmail.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210503/bbbe8c2b/attachment.htm>