diff options
author | Max <msuraev@sysmocom.de> | 2017-12-21 14:37:23 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2017-12-21 14:37:23 +0100 |
commit | 8a02e36575d92360bc482e8453b1df04182f3390 (patch) | |
tree | 40668d155dd6e4ba7fe4d57d240008264061925d /scripts | |
parent | 6588960d1d27d5a6da7fb6144e72f6f134e69063 (diff) |
Use python3 for osmo_ctrl.py
It's a standalone script illustrating the use of ctrl protocol from
python. Since it's not used as a library and nothing depends on it, we
can safely switch to python3.
Change-Id: I2461dd9af67771beed5306116e8a1b0ee2285aa8
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/osmo_ctrl.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/osmo_ctrl.py b/scripts/osmo_ctrl.py index bec6d1d..8c0608f 100755 --- a/scripts/osmo_ctrl.py +++ b/scripts/osmo_ctrl.py @@ -1,8 +1,8 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- mode: python-mode; py-indent-tabs-mode: nil -*- """ /* - * Copyright (C) 2016 sysmocom s.f.m.c. GmbH + * Copyright (C) 2016-2017 sysmocom s.f.m.c. GmbH * * All Rights Reserved * @@ -21,7 +21,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ """ -from __future__ import print_function + from optparse import OptionParser from osmopy.osmo_ipa import Ctrl import socket |