summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-07-02 20:28:55 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2018-07-02 20:30:31 +0700
commit94c0031297abb0bb42a4ea23e68f944622f50469 (patch)
tree5e2382f50bdb9b26ddc27e058c2c3dcd87cc2ab6 /utils
parentbc568d0b9f216f8d3c26b888131f4a9a7e9d368d (diff)
Don't enforce Python 2 for utilities
The conv_gen.py utility was tested against both Python 2 and 3, so there is no need to enforce Python 2. Also, having: #!/usr/local/bin/python{2|3} is a bad idea, because Python may be installed in a different location. Change-Id: I6007d481047b584db13d6eda70fb99f11f9ddaa1
Diffstat (limited to 'utils')
-rw-r--r--utils/conv_codes_gsm.py3
-rw-r--r--utils/conv_gen.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/utils/conv_codes_gsm.py b/utils/conv_codes_gsm.py
index eeed4fd0..ec776605 100644
--- a/utils/conv_codes_gsm.py
+++ b/utils/conv_codes_gsm.py
@@ -1,5 +1,6 @@
-#!/usr/bin/python2
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
+
from conv_gen import ConvolutionalCode
from conv_gen import poly
diff --git a/utils/conv_gen.py b/utils/conv_gen.py
index 6b6b2677..06283d87 100644
--- a/utils/conv_gen.py
+++ b/utils/conv_gen.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2
+#!/usr/bin/env python
mod_license = """
/*