summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2019-07-09 17:28:12 +0200
committerKali Kaneko <kali@leap.se>2019-07-09 17:28:12 +0200
commitb3b3828294d5bbc7de6d8ab001c67809e84194d0 (patch)
treee496d6a3e7040bb46ac03f4eb59aeef56073acb2
parent0a9958ebc6bf8dff9602a8cb8fb973ce3f09b2f9 (diff)
[bug] use python3 for bitmask-root
-rwxr-xr-xsrc/leap/bitmask/vpn/helpers/linux/bitmask-root4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/leap/bitmask/vpn/helpers/linux/bitmask-root b/src/leap/bitmask/vpn/helpers/linux/bitmask-root
index 1b358ff6..a21c945d 100755
--- a/src/leap/bitmask/vpn/helpers/linux/bitmask-root
+++ b/src/leap/bitmask/vpn/helpers/linux/bitmask-root
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.7
+#!/usr/bin/python3
# -*- coding: utf-8 -*-
#
# Copyright (C) 2014 LEAP
@@ -45,8 +45,6 @@ The `openvpn start` action is special: it calls exec on openvpn and replaces
the current process. If the `restart` parameter is passed, the firewall will
not be teared down in the case of an error during launch.
"""
-# TODO should be tested with python3, which can be the default on some distro.
-from __future__ import print_function
import os
import re
import signal