Skip to content

Commit 71d9fa4

Browse files
committed
remove python <3.6 from can/interfaces/*
1 parent 877343b commit 71d9fa4

4 files changed

Lines changed: 3 additions & 8 deletions

File tree

‎can/interfaces/canalystii.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# coding: utf-8
2+
13
from ctypes import *
24
import logging
35
import platform

‎can/interfaces/iscan.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
Interface for isCAN from Thorsis Technologies GmbH, former ifak system GmbH.
55
"""
66

7-
from __future__ import absolute_import, division
8-
97
import ctypes
108
import time
119
import logging

‎can/interfaces/slcan.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
1010
"""
1111

12-
from __future__ import absolute_import
13-
1412
import time
1513
import logging
1614

‎can/interfaces/virtual.py‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@
1111
from copy import deepcopy
1212
import logging
1313
import time
14-
try:
15-
import queue
16-
except ImportError:
17-
import Queue as queue
14+
import queue
1815
from threading import RLock
1916
from random import randint
2017

0 commit comments

Comments
 (0)