mirror of
https://github.com/corundum/corundum.git
synced 2025-01-30 08:32:52 +08:00
Update for Python 3
This commit is contained in:
parent
db6a6e23f5
commit
92830f87d8
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python2
|
#!/usr/bin/env python
|
||||||
"""
|
"""
|
||||||
|
|
||||||
Copyright (c) 2015 Alex Forencich
|
Copyright (c) 2015 Alex Forencich
|
||||||
@ -25,6 +25,10 @@ THE SOFTWARE.
|
|||||||
|
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
try:
|
||||||
|
from queue import Queue
|
||||||
|
except ImportError:
|
||||||
from Queue import Queue
|
from Queue import Queue
|
||||||
|
|
||||||
import eth_ep
|
import eth_ep
|
||||||
|
Loading…
x
Reference in New Issue
Block a user