Changeset 7321 for main/waeup.sirp/trunk/src/waeup/sirp/image/image.py
- Timestamp:
- 10 Dec 2011, 06:15:17 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/image/image.py
r7196 r7321 23 23 from zope.component import getUtility 24 24 from zope.interface import implements 25 from waeup.sirp.image.interfaces import I WAeUPImageFile25 from waeup.sirp.image.interfaces import ISIRPImageFile 26 26 27 class WAeUPImageFile(HurryFile):27 class SIRPImageFile(HurryFile): 28 28 """A file prepared for storing image files. 29 29 … … 32 32 regular hurry files. 33 33 34 To create a :class:` WAeUPImageFile` you should use35 :func:`create WAeUPImageFile`.34 To create a :class:`SIRPImageFile` you should use 35 :func:`createSIRPImageFile`. 36 36 """ 37 implements(I WAeUPImageFile)37 implements(ISIRPImageFile) 38 38 39 39 def __ne__(self, other): … … 45 45 return True 46 46 47 def create WAeUPImageFile(filename, f):47 def createSIRPImageFile(filename, f): 48 48 retrieval = getUtility(IFileRetrieval) 49 49 return retrieval.createFile(filename, f)
Note: See TracChangeset for help on using the changeset viewer.