mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-03-02 15:10:01 -05:00
queue import (regex 2)
from polyglot import queue import queue
This commit is contained in:
parent
6e03ff7ef4
commit
62ae8892c7
@ -9,6 +9,7 @@ import hashlib
|
||||
import json
|
||||
import os
|
||||
import posixpath
|
||||
import queue
|
||||
import random
|
||||
import select
|
||||
import socket
|
||||
@ -43,7 +44,6 @@ from calibre.utils.mdns import get_all_ips
|
||||
from calibre.utils.mdns import publish as publish_zeroconf
|
||||
from calibre.utils.mdns import unpublish as unpublish_zeroconf
|
||||
from calibre.utils.socket_inheritance import set_socket_inherit
|
||||
from polyglot import queue
|
||||
from polyglot.builtins import as_bytes
|
||||
|
||||
|
||||
|
||||
@ -5,6 +5,7 @@ __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
|
||||
|
||||
import glob
|
||||
import os
|
||||
import queue
|
||||
import signal
|
||||
import sys
|
||||
import threading
|
||||
@ -90,7 +91,6 @@ from calibre.utils.localization import get_lang
|
||||
from calibre.utils.resources import get_image_path as I
|
||||
from calibre.utils.resources import get_path as P
|
||||
from calibre.utils.resources import user_dir
|
||||
from polyglot import queue
|
||||
from polyglot.builtins import iteritems
|
||||
|
||||
del pqc, geometry_for_restore_as_dict
|
||||
|
||||
@ -5,6 +5,7 @@ import io
|
||||
|
||||
# Imports {{{
|
||||
import os
|
||||
import queue
|
||||
import re
|
||||
import sys
|
||||
import time
|
||||
@ -56,7 +57,6 @@ from calibre.utils.filenames import ascii_filename
|
||||
from calibre.utils.img import scale_image
|
||||
from calibre.utils.ipc.job import BaseJob
|
||||
from calibre.utils.localization import ngettext
|
||||
from polyglot import queue
|
||||
|
||||
# }}}
|
||||
|
||||
|
||||
@ -46,10 +46,9 @@ __date__ = '$Date: 2006/06/23 12:32:25 $'
|
||||
__license__ = 'Python license'
|
||||
|
||||
# standard library modules
|
||||
import queue
|
||||
import threading
|
||||
|
||||
from polyglot import queue
|
||||
|
||||
# exceptions
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user