mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Make stylechecker happy
This commit is contained in:
parent
b3b356e514
commit
d07fe8376e
4 changed files with 10 additions and 7 deletions
|
|
@ -9,11 +9,13 @@ import sys
|
||||||
import threading
|
import threading
|
||||||
from itertools import chain
|
from itertools import chain
|
||||||
|
|
||||||
|
from atomicwrites import atomic_write
|
||||||
|
|
||||||
from .. import DOCS_HOME, PROJECT_HOME, exceptions, log
|
from .. import DOCS_HOME, PROJECT_HOME, exceptions, log
|
||||||
from ..doubleclick import click
|
from ..doubleclick import click
|
||||||
from ..storage import storage_names
|
from ..storage import storage_names
|
||||||
from ..sync import IdentConflict, StorageEmpty, SyncConflict
|
from ..sync import IdentConflict, StorageEmpty, SyncConflict
|
||||||
from ..utils import atomic_write, expand_path, get_class_init_args
|
from ..utils import expand_path, get_class_init_args
|
||||||
from ..utils.compat import text_type
|
from ..utils.compat import text_type
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,12 @@
|
||||||
import errno
|
import errno
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
from atomicwrites import atomic_write
|
||||||
|
|
||||||
from .base import Item, Storage
|
from .base import Item, Storage
|
||||||
from .. import exceptions, log
|
from .. import exceptions, log
|
||||||
from ..utils import atomic_write, checkdir, expand_path, \
|
from ..utils import checkdir, expand_path, get_etag_from_file, \
|
||||||
get_etag_from_file, get_etag_from_fileobject
|
get_etag_from_fileobject
|
||||||
from ..utils.compat import text_type
|
from ..utils.compat import text_type
|
||||||
|
|
||||||
logger = log.get(__name__)
|
logger = log.get(__name__)
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,11 @@
|
||||||
import collections
|
import collections
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
from atomicwrites import atomic_write
|
||||||
|
|
||||||
from .base import Item, Storage
|
from .base import Item, Storage
|
||||||
from .. import exceptions, log
|
from .. import exceptions, log
|
||||||
from ..utils import atomic_write, checkfile, expand_path
|
from ..utils import checkfile, expand_path
|
||||||
from ..utils.compat import iteritems, itervalues
|
from ..utils.compat import iteritems, itervalues
|
||||||
from ..utils.vobject import join_collection, split_collection
|
from ..utils.vobject import join_collection, split_collection
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,6 @@
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import threading
|
import threading
|
||||||
import uuid
|
|
||||||
|
|
||||||
from atomicwrites import atomic_write
|
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
from requests.packages.urllib3.poolmanager import PoolManager
|
from requests.packages.urllib3.poolmanager import PoolManager
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue