Commit 26acb6f3 authored by Stephane Fermingier's avatar Stephane Fermingier

Remove useless imports.

parent b45533bb
...@@ -13,14 +13,13 @@ ...@@ -13,14 +13,13 @@
"""WebDAV support - collection objects.""" """WebDAV support - collection objects."""
__version__='$Revision: 1.26 $'[11:-2] __version__='$Revision: 1.27 $'[11:-2]
import sys, os, Globals, davcmds, Lockable,re import Globals, davcmds, Lockable
from common import urlfix, rfc1123_date from common import urlfix, rfc1123_date
from Resource import Resource from Resource import Resource
from AccessControl import getSecurityManager from AccessControl import getSecurityManager
from urllib import unquote from urllib import unquote
from WriteLockInterface import WriteLockInterface
from zExceptions import MethodNotAllowed, NotFound from zExceptions import MethodNotAllowed, NotFound
from webdav.common import Locked, PreconditionFailed from webdav.common import Locked, PreconditionFailed
......
...@@ -11,11 +11,10 @@ ...@@ -11,11 +11,10 @@
# #
############################################################################## ##############################################################################
__version__ = "$Revision: 1.9 $"[11:-2] __version__ = "$Revision: 1.10 $"[11:-2]
from WriteLockInterface import WriteLockInterface, LockItemInterface from WriteLockInterface import WriteLockInterface, LockItemInterface
from EtagSupport import EtagSupport from EtagSupport import EtagSupport
from LockItem import LockItem
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from Globals import PersistentMapping from Globals import PersistentMapping
import Acquisition import Acquisition
......
...@@ -13,12 +13,11 @@ ...@@ -13,12 +13,11 @@
"""WebDAV support - null resource objects.""" """WebDAV support - null resource objects."""
__version__='$Revision: 1.40 $'[11:-2] __version__='$Revision: 1.41 $'[11:-2]
import sys, os, mimetypes, Globals, davcmds import sys, Globals, davcmds
import Acquisition, OFS.content_types import Acquisition, OFS.content_types
from common import absattr, aq_base, urlfix, tokenFinder, IfParser from common import aq_base, tokenFinder, IfParser
from AccessControl.Permission import Permission
from AccessControl import getSecurityManager from AccessControl import getSecurityManager
from Resource import Resource from Resource import Resource
from Globals import Persistent, DTMLFile from Globals import Persistent, DTMLFile
......
...@@ -13,13 +13,12 @@ ...@@ -13,13 +13,12 @@
"""WebDAV support - resource objects. """WebDAV support - resource objects.
$Id: Resource.py,v 1.59 2003/12/27 00:05:48 jeremy Exp $ $Id: Resource.py,v 1.60 2004/03/21 16:39:58 sf Exp $
""" """
import sys import sys
import mimetypes import mimetypes
import time from urllib import unquote
from urllib import quote, unquote
import Globals import Globals
import ExtensionClass import ExtensionClass
......
"""HTTP 1.1 / WebDAV client library.""" """HTTP 1.1 / WebDAV client library."""
__version__='$Revision: 1.21 $'[11:-2] __version__='$Revision: 1.22 $'[11:-2]
import sys, os, time, types,re import sys, os, time, types,re
import socket, httplib, mimetools import httplib, mimetools
from types import FileType from types import FileType
from mimetypes import guess_type from mimetypes import guess_type
from base64 import encodestring from base64 import encodestring
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment