[Zope3-checkins] CVS: Zope3/src/zope/app/content - file.py:1.8 folder.py:1.11 i18nimage.py:1.3 sql.py:1.4
Martijn Faassen
m.faassen@vet.uu.nl
Thu, 1 May 2003 15:36:11 -0400
Update of /cvs-repository/Zope3/src/zope/app/content
In directory cvs.zope.org:/tmp/cvs-serv30407/zope/app/content
Modified Files:
file.py folder.py i18nimage.py sql.py
Log Message:
Importgeddon part the second. Removed unused imports throughout the
source tree. This should have taken care of most unused imports
in Zope 3. :)
=== Zope3/src/zope/app/content/file.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/content/file.py:1.7 Mon Apr 14 13:15:20 2003
+++ Zope3/src/zope/app/content/file.py Thu May 1 15:35:10 2003
@@ -21,10 +21,7 @@
from persistence import Persistent
from transaction import get_transaction
-from zope.component import getAdapter
from zope.publisher.browser import FileUpload
-
-from zope.app.interfaces.dublincore import IZopeDublinCore
from zope.app.interfaces.content.file import IFile, IReadFile
# set the size of the chunks
=== Zope3/src/zope/app/content/folder.py 1.10 => 1.11 ===
--- Zope3/src/zope/app/content/folder.py:1.10 Sun Mar 30 10:40:59 2003
+++ Zope3/src/zope/app/content/folder.py Thu May 1 15:35:10 2003
@@ -17,7 +17,6 @@
from zope.app.interfaces.content.folder import IFolder, IRootFolder, \
ICloneWithoutChildren
from zope.app.services.servicecontainer import ServiceManagerContainer
-from zope.app.interfaces.services.service import IServiceManagerContainer
from zope.exceptions import DuplicationError
=== Zope3/src/zope/app/content/i18nimage.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/content/i18nimage.py:1.2 Wed Dec 25 09:12:48 2002
+++ Zope3/src/zope/app/content/i18nimage.py Thu May 1 15:35:10 2003
@@ -16,7 +16,7 @@
$Id$
"""
-from zope.app.content.image import IImage, Image, getImageInfo
+from zope.app.content.image import Image, getImageInfo
from zope.app.content.i18nfile import I18nFile
from zope.app.interfaces.content.i18nimage import II18nImage
=== Zope3/src/zope/app/content/sql.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/content/sql.py:1.3 Thu Feb 20 11:46:07 2003
+++ Zope3/src/zope/app/content/sql.py Thu May 1 15:35:10 2003
@@ -148,7 +148,6 @@
import re
import sys
-from time import time
from types import StringTypes
from persistence import Persistent
@@ -160,7 +159,6 @@
from zope.component import getService
from zope.proxy.context import ContextMethod
-from zope.proxy.introspection import removeAllProxies
from zope.app.cache.caching import getCacheForObj, getLocationForCache
from zope.app.interfaces.content.file import IFileContent
@@ -168,9 +166,6 @@
from zope.app.interfaces.annotation import IAttributeAnnotatable
from zope.app.rdb import SQLCommand
from zope.app.rdb import queryForResults
-from zope.app.traversing import getParent
-
-
unparmre = re.compile(r'([\000- ]*([^\000- ="]+))')
parmre = re.compile(r'([\000- ]*([^\000- ="]+)=([^\000- ="]+))')