summaryrefslogtreecommitdiffstats
path: root/src/target/fake_trx/ctrl_cmd.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/fake_trx/ctrl_cmd.py')
-rwxr-xr-xsrc/target/fake_trx/ctrl_cmd.py12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/target/fake_trx/ctrl_cmd.py b/src/target/fake_trx/ctrl_cmd.py
index 83baa197..3526eaa5 100755
--- a/src/target/fake_trx/ctrl_cmd.py
+++ b/src/target/fake_trx/ctrl_cmd.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 select
@@ -29,13 +32,6 @@ import sys
from udp_link import UDPLink
-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"
@@ -44,7 +40,7 @@ class Application:
fuzzing = False
def __init__(self):
- print(COPYRIGHT)
+ print_copyright(CR_HOLDERS)
self.parse_argv()
# Set up signal handlers