Changeset 4851 for waeup


Ignore:
Timestamp:
18 Jan 2010, 06:59:32 (15 years ago)
Author:
uli
Message:

Update interfaces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-importers/src/waeup/interfaces.py

    r4833 r4851  
    440440    """A data center file.
    441441    """
     442
     443    name = schema.TextLine(
     444        title = u'Filename')
     445
     446    size = schema.TextLine(
     447        title = u'Human readable file size')
     448
     449    uploaddate = schema.TextLine(
     450        title = u'Human readable upload datetime')
     451
     452    lines = schema.Int(
     453        title = u'Number of lines in file')
     454       
    442455    def getDate():
    443456        """Get creation timestamp from file in human readable form.
     
    447460        """Get human readable size of file.
    448461        """
     462
     463    def getLinesNumber():
     464        """Get number of lines of file.
     465        """
Note: See TracChangeset for help on using the changeset viewer.