Uses absoulte imports as recommended in PEP-8

This commit is contained in:
Frank Sachsenheim 2018-01-14 18:33:01 +01:00 committed by Unrud
parent db2e7f9568
commit 50d3d01ea3
6 changed files with 7 additions and 7 deletions

View File

@ -51,7 +51,7 @@ from xml.etree import ElementTree as ET
import vobject
from . import auth, rights, storage, web, xmlutils
from radicale import auth, rights, storage, web, xmlutils
VERSION = pkg_resources.get_distribution('radicale').version

View File

@ -32,8 +32,8 @@ import ssl
import sys
from wsgiref.simple_server import make_server
from . import (VERSION, Application, RequestHandler, ThreadedHTTPServer,
ThreadedHTTPSServer, config, log, storage)
from radicale import (VERSION, Application, RequestHandler, ThreadedHTTPServer,
ThreadedHTTPSServer, config, log, storage)
def run():

View File

@ -28,7 +28,7 @@ import os
from collections import OrderedDict
from configparser import RawConfigParser as ConfigParser
from . import auth, rights, storage, web
from radicale import auth, rights, storage, web
def positive_int(value):

View File

@ -43,7 +43,7 @@ import posixpath
import re
from importlib import import_module
from . import storage
from radicale import storage
INTERNAL_TYPES = ("None", "none", "authenticated", "owner_write", "owner_only",
"from_file")

View File

@ -22,7 +22,7 @@ from importlib import import_module
import pkg_resources
from . import storage
from radicale import storage
NOT_FOUND = (
client.NOT_FOUND, (("Content-Type", "text/plain"),),

View File

@ -36,7 +36,7 @@ from http import client
from itertools import chain
from urllib.parse import quote, unquote, urlparse
from . import storage
from radicale import storage
MIMETYPES = {
"VADDRESSBOOK": "text/vcard",