[Checkins] SVN: zope.file/trunk/src/zope/file/ Get rid of unit test deprecations

Gary Poster gary at zope.com
Thu Apr 27 23:24:02 EDT 2006


Log message for revision 67679:
  Get rid of unit test deprecations
  

Changed:
  U   zope.file/trunk/src/zope/file/browser.py
  U   zope.file/trunk/src/zope/file/file.py

-=-
Modified: zope.file/trunk/src/zope/file/browser.py
===================================================================
--- zope.file/trunk/src/zope/file/browser.py	2006-04-27 22:23:55 UTC (rev 67678)
+++ zope.file/trunk/src/zope/file/browser.py	2006-04-28 03:24:01 UTC (rev 67679)
@@ -15,8 +15,8 @@
 """
 __docformat__ = "reStructuredText"
 
-import zope.app.size
-import zope.app.size.interfaces
+import zope.size
+import zope.size.interfaces
 import zope.component
 import zope.file.interfaces
 import zope.interface
@@ -25,7 +25,7 @@
 class Sized(object):
 
     zope.interface.implements(
-        zope.app.size.interfaces.ISized)
+        zope.size.interfaces.ISized)
 
     zope.component.adapts(
         zope.file.interfaces.IFile)
@@ -37,4 +37,4 @@
         return "byte", self.context.size
 
     def sizeForDisplay(self):
-        return zope.app.size.byteDisplay(self.context.size)
+        return zope.size.byteDisplay(self.context.size)

Modified: zope.file/trunk/src/zope/file/file.py
===================================================================
--- zope.file/trunk/src/zope/file/file.py	2006-04-27 22:23:55 UTC (rev 67678)
+++ zope.file/trunk/src/zope/file/file.py	2006-04-28 03:24:01 UTC (rev 67679)
@@ -19,7 +19,7 @@
 
 import persistent
 
-import zope.app.location.interfaces
+import zope.location.interfaces
 import zope.file.interfaces
 import zope.interface
 
@@ -28,7 +28,7 @@
 
     zope.interface.implements(
         zope.file.interfaces.IFile,
-        zope.app.location.interfaces.ILocation)
+        zope.location.interfaces.ILocation)
 
     __name__ = None
     __parent__ = None



More information about the Checkins mailing list