Ignore:
Timestamp:
25 Dec 2009, 12:48:08 (15 years ago)
Author:
uli
Message:

Move IDatacenterFile interface to interfaces module.

Location:
waeup/branches/ulif-rewrite/src/waeup
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-rewrite/src/waeup/datacenter.py

    r4570 r4572  
    1313from zope.interface import Interface
    1414from waeup.csvfile import getCSVFile
    15 from waeup.interfaces import IWAeUPObject, IWAeUPCSVImporter, ICSVDataReceivers
     15from waeup.interfaces import (IWAeUPObject, IWAeUPCSVImporter,
     16                              ICSVDataReceivers, IDataCenterFile)
    1617from waeup.utils.helpers import copyFileSystemTree
    1718from waeup.viewlets import Index, MainArea, LeftSidebar
     
    173174        return
    174175
    175        
    176 class IDataCenterFile(Interface):
    177     """A data center file.
    178     """
    179     pass
    180 
    181 
    182176class DataCenterFile(object):
    183177    """A description of a file stored in data center.
  • waeup/branches/ulif-rewrite/src/waeup/interfaces.py

    r4559 r4572  
    393393    data, i.e. for which an IWAeUPCSVDataImporter exists.
    394394    """
     395
     396class IDataCenterFile(Interface):
     397    """A data center file.
     398    """
     399    def getDate():
     400        """Get creation timestamp from file in human readable form.
     401        """
     402
     403    def getSize():
     404        """Get human readable size of file.
     405        """
Note: See TracChangeset for help on using the changeset viewer.