Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
API: Add support for type aliases
[vpp.git]
/
src
/
vpp-api
/
python
/
vpp_papi
/
vpp_transport_socket.py
diff --git
a/src/vpp-api/python/vpp_papi/vpp_transport_socket.py
b/src/vpp-api/python/vpp_papi/vpp_transport_socket.py
index
29b4c65
..
af94985
100644
(file)
--- a/
src/vpp-api/python/vpp_papi/vpp_transport_socket.py
+++ b/
src/vpp-api/python/vpp_papi/vpp_transport_socket.py
@@
-6,7
+6,10
@@
import struct
import threading
import select
import multiprocessing
import threading
import select
import multiprocessing
-import queue
+try:
+ import queue as queue
+except ImportError:
+ import Queue as queue
import logging
import logging