diff options
Diffstat (limited to 'src/target/fake_trx/burst_gen.py')
-rwxr-xr-x | src/target/fake_trx/burst_gen.py | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/target/fake_trx/burst_gen.py b/src/target/fake_trx/burst_gen.py index 179dbcda..6a034cd5 100755 --- a/src/target/fake_trx/burst_gen.py +++ b/src/target/fake_trx/burst_gen.py @@ -22,6 +22,9 @@ # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +from copyright import print_copyright +CR_HOLDERS = [("2017-2018", "Vadim Yanitskiy <axilirator@gmail.com>")] + import signal import getopt import sys @@ -32,13 +35,6 @@ from data_if import DATAInterface from gsm_shared import * from data_msg import * -COPYRIGHT = \ - "Copyright (C) 2017 by Vadim Yanitskiy <axilirator@gmail.com>\n" \ - "License GPLv2+: GNU GPL version 2 or later " \ - "<http://gnu.org/licenses/gpl.html>\n" \ - "This is free software: you are free to change and redistribute it.\n" \ - "There is NO WARRANTY, to the extent permitted by law.\n" - class Application: # Application variables remote_addr = "127.0.0.1" @@ -59,7 +55,7 @@ class Application: pwr = None def __init__(self): - self.print_copyright() + print_copyright(CR_HOLDERS) self.parse_argv() self.check_argv() @@ -143,9 +139,6 @@ class Application: if self.output_file is not None: self.ddf.append_msg(msg) - def print_copyright(self): - print(COPYRIGHT) - def print_help(self, msg = None): s = " Usage: " + sys.argv[0] + " [options]\n\n" \ " Some help...\n" \ |