grgsm_decode: Print frequency or ARFCN message on stderr
For some yet unknown reasons in travis on Debian testing and Kali rolling the message gets printed after the burst and decode.sh and decrypt.sh tests fails because of this. Instead of filtering this messages in the tests I think it is better such messages to be printed on the standard error output Change-Id: Ib18be898cac74769cabf1b748e40e21d23f08e98
This commit is contained in:
parent
fc10d03390
commit
9feb7da807
|
@ -30,6 +30,7 @@ import collections
|
|||
import grgsm
|
||||
import pmt
|
||||
import socket
|
||||
import sys
|
||||
|
||||
|
||||
class grgsm_decoder(gr.top_block):
|
||||
|
@ -368,7 +369,7 @@ if __name__ == '__main__':
|
|||
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")
|
||||
print("You haven't provided a frequency or an ARFCN - working without automatic frequency offset correction.\n", file=sys.stderr)
|
||||
|
||||
# handle frequency / arfcn input
|
||||
arfcn = None
|
||||
|
|
Loading…
Reference in New Issue