Fix imports for Python 3

This commit is contained in:
Thomas Robitaille
2016-06-28 22:12:08 +01:00
parent 8ef02fa2b1
commit a196d673df
3 changed files with 9 additions and 7 deletions
+5 -3
View File
@@ -1,3 +1,5 @@
from util import * from __future__ import absolute_import, print_function, division
import adsb
import ehs from .util import *
from . import adsb
from . import ehs
+2 -2
View File
@@ -18,8 +18,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
""" """
import math import math
import util from . import util
from util import crc from .util import crc
def df(msg): def df(msg):
+2 -2
View File
@@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
""" """
import util from . import util
from util import crc from .util import crc
def df(msg): def df(msg):