aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-02-09 08:07:52 +0000
committerHarald Welte <laforge@gnumonks.org>2018-02-09 08:49:26 +0000
commit4e4521b3d5b6f554d7d653697c856b70fb49cf03 (patch)
tree4ac6559222b090725c0bdd87b46062076338318f
parent5ec91980ac2224aa1e9bf070a0e382d0d8c2b729 (diff)
Revert "Use python 3 for utilities"
This reverts commit 76c6c50405c6cbb1d08bdd7b5d27c657fa5d38b6, which broke the obs builds. I'm really starting to get annoyed by ongoing python related breakage without ever fixing any bugs! Change-Id: I4d76e897d4f746ff9ea4e06f2efc708a12cc2944
-rw-r--r--debian/control2
-rw-r--r--utils/conv_codes_gsm.py2
-rw-r--r--utils/conv_gen.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/debian/control b/debian/control
index 2a6fd4a..64c4870 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,7 @@ Build-Depends: debhelper (>= 9),
libpcsclite-dev,
pkg-config,
libtalloc-dev,
- python3
+ python (>= 2.7.6)
Standards-Version: 3.9.8
Vcs-Git: git://git.osmocom.org/libosmocore.git
Vcs-Browser: http://git.osmocom.org/gitweb?p=libosmocore.git;a=summary
diff --git a/utils/conv_codes_gsm.py b/utils/conv_codes_gsm.py
index 72681e7..eeed4fd 100644
--- a/utils/conv_codes_gsm.py
+++ b/utils/conv_codes_gsm.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python2
# -*- 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 d2eda15..6b6b267 100644
--- a/utils/conv_gen.py
+++ b/utils/conv_gen.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python2
mod_license = """
/*