summaryrefslogtreecommitdiffstats
path: root/src/target/fake_trx/burst_send.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/fake_trx/burst_send.py')
-rwxr-xr-xsrc/target/fake_trx/burst_send.py15
1 files changed, 4 insertions, 11 deletions
diff --git a/src/target/fake_trx/burst_send.py b/src/target/fake_trx/burst_send.py
index 882fcd64..c588b3df 100755
--- a/src/target/fake_trx/burst_send.py
+++ b/src/target/fake_trx/burst_send.py
@@ -21,6 +21,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
@@ -30,13 +33,6 @@ from data_if import DATAInterface
from gsm_shared import *
from data_msg import *
-COPYRIGHT = \
- "Copyright (C) 2017-2018 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"
@@ -56,7 +52,7 @@ class Application:
pf_tn = None
def __init__(self):
- self.print_copyright()
+ print_copyright(CR_HOLDERS)
self.parse_argv()
# Set up signal handlers
@@ -119,9 +115,6 @@ class Application:
# Burst passed ;)
return True
- def print_copyright(self):
- print(COPYRIGHT)
-
def print_help(self, msg = None):
s = " Usage: " + sys.argv[0] + " [options]\n\n" \
" Some help...\n" \