diff options
Diffstat (limited to 'apps/osmocom_siggen_nogui')
-rwxr-xr-x | apps/osmocom_siggen_nogui | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/osmocom_siggen_nogui b/apps/osmocom_siggen_nogui index 0283fcf..5370cd0 100755 --- a/apps/osmocom_siggen_nogui +++ b/apps/osmocom_siggen_nogui @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2008,2009,2011,2012 Free Software Foundation, Inc. # @@ -26,19 +26,19 @@ import sys def main(): if gr.enable_realtime_scheduling() != gr.RT_OK: - print "Note: failed to enable realtime scheduling, continuing" + print("Note: failed to enable realtime scheduling, continuing") # Grab command line options and create top block try: (options, args) = osmocom_siggen.get_options() tb = osmocom_siggen.top_block(options, args) - except RuntimeError, e: - print e + except RuntimeError as e: + print(e) sys.exit(1) tb.start() - raw_input('Press Enter to quit: ') + input('Press Enter to quit: ') tb.stop() tb.wait() |