Skip to content

Commit

Permalink
Fixed missing or unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mauritsvanrees committed Jan 25, 2021
1 parent bdd8fe5 commit 2463875
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion plone/app/caching/lastmodified.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from datetime import datetime
from dateutil.tz import tzlocal
from OFS.Image import File
from plone.app.caching.operations.utils import getContext
from Products.CMFCore.FSObject import FSObject
from Products.CMFCore.FSPageTemplate import FSPageTemplate
from Products.CMFCore.interfaces import ICatalogableDublinCore
Expand Down
1 change: 1 addition & 0 deletions plone/app/caching/operations/etags.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from Acquisition import aq_inner
from plone.app.caching.interfaces import IETagValue
from plone.app.caching.operations.utils import getContext
from plone.app.caching.operations.utils import getLastModifiedAnnotation
Expand Down
1 change: 1 addition & 0 deletions plone/app/caching/tests/test_profile_with_caching_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import dateutil.parser
import dateutil.tz
import os
import transaction
import unittest


Expand Down
4 changes: 4 additions & 0 deletions plone/app/caching/tests/test_profile_without_caching_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,17 @@
from plone.registry.interfaces import IRegistry
from plone.restapi.testing import RelativeSession
from plone.testing.z2 import Browser
from Products.CMFCore.FSFile import FSFile
from Products.CMFCore.utils import getToolByName
from zope.component import getUtility
from zope.globalrequest import setRequest

import datetime
import dateutil.parser
import dateutil.tz
import io
import os
import transaction
import unittest


Expand Down
1 change: 0 additions & 1 deletion plone/app/caching/tests/test_purge.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
from zope.component import queryUtility
from zope.component.event import objectEventNotify
from zope.event import notify
from zope.globalrequest import getRequest
from zope.globalrequest import setRequest
from zope.interface import implementer
from zope.lifecycleevent import ObjectAddedEvent
Expand Down

0 comments on commit 2463875

Please sign in to comment.