mirror of
https://git.codelinaro.org/clo/tools/repo.git
synced 2025-08-06 05:35:03 +08:00
fix some sync error while using python3
Change-Id: I70925e48756c356d48359679d8ad1b9e33a68595
This commit is contained in:
@ -20,7 +20,12 @@ import select
|
||||
import shutil
|
||||
import stat
|
||||
|
||||
from Queue import Queue
|
||||
from pyversion import is_python3
|
||||
if is_python3():
|
||||
from queue import Queue
|
||||
else:
|
||||
from Queue import Queue
|
||||
|
||||
from threading import Thread
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user