Merge pull request #3 from astrofrog/python3

Fix imports for Python 3
This commit is contained in:
Junzi Sun
2016-07-07 17:22:35 +02:00
committed by GitHub
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):