mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-30 18:52:38 +02:00
Consolidate import statements
This commit is contained in:
parent
c547ffc3b4
commit
55a4491ced
1 changed files with 4 additions and 7 deletions
|
@ -13,17 +13,14 @@ import zipfile
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import IO, Callable, Optional
|
from typing import IO, Callable, Optional
|
||||||
|
|
||||||
from ..document import Document
|
|
||||||
from ..util import get_resource_path
|
|
||||||
from .base import IsolationProvider
|
|
||||||
|
|
||||||
log = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
from ..conversion.common import running_on_qubes
|
from ..conversion.common import running_on_qubes
|
||||||
from ..conversion.errors import exception_from_error_code
|
from ..conversion.errors import exception_from_error_code
|
||||||
from ..conversion.pixels_to_pdf import PixelsToPDF
|
from ..conversion.pixels_to_pdf import PixelsToPDF
|
||||||
|
from ..document import Document
|
||||||
from ..util import get_resource_path, get_subprocess_startupinfo, get_tmp_dir
|
from ..util import get_resource_path, get_subprocess_startupinfo, get_tmp_dir
|
||||||
from .base import MAX_CONVERSION_LOG_CHARS
|
from .base import MAX_CONVERSION_LOG_CHARS, IsolationProvider
|
||||||
|
|
||||||
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
CONVERTED_FILE_PATH = (
|
CONVERTED_FILE_PATH = (
|
||||||
# FIXME won't work for parallel conversions (see #454)
|
# FIXME won't work for parallel conversions (see #454)
|
||||||
|
|
Loading…
Reference in a new issue