mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-06-07 14:35:27 -04:00
Remove py3 conditionals
This commit is contained in:
@@ -2,9 +2,4 @@
|
||||
# vim:fileencoding=utf-8
|
||||
# License: GPL v3 Copyright: 2019, Eli Schwartz <eschwartz@archlinux.org>
|
||||
|
||||
from polyglot.builtins import is_py3
|
||||
|
||||
if is_py3:
|
||||
from queue import Queue, Empty, Full, PriorityQueue, LifoQueue # noqa
|
||||
else:
|
||||
from Queue import Queue, Empty, Full, PriorityQueue, LifoQueue # noqa
|
||||
from queue import Queue, Empty, Full, PriorityQueue, LifoQueue # noqa
|
||||
|
||||
Reference in New Issue
Block a user