Merge pull request #855 from radiorabe/chore/centos-7-pypo-fix
CentOS 7/Python 2.7.5 compat fix
This commit is contained in:
commit
5f4209a4c9
1 changed files with 4 additions and 1 deletions
|
@ -16,7 +16,10 @@ from api_clients import api_client
|
|||
from configobj import ConfigObj
|
||||
from datetime import datetime
|
||||
from optparse import OptionParser
|
||||
from queue import Queue
|
||||
try:
|
||||
from queue import Queue
|
||||
except ImportError: # Python 2.7.5 (CentOS 7)
|
||||
from Queue import Queue
|
||||
from threading import Lock
|
||||
|
||||
from .listenerstat import ListenerStat
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue