Ignore:
Timestamp:
21 Sep 2012, 08:19:35 (12 years ago)
Author:
uli
Message:

Rollback r9209. Looks like multiple merges from trunk confuse svn when merging back into trunk.

Location:
main/waeup.kofa/branches/uli-zc-async
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/uli-zc-async

  • main/waeup.kofa/branches/uli-zc-async/src/waeup/kofa/datacenter.txt

    r9209 r9211  
    8383We can get a list of files stored in that location:
    8484
    85     >>> mydatacenter.getPendingFiles()
     85    >>> mydatacenter.getFiles()
    8686    []
    8787
     
    9494Now we can find a file:
    9595
    96     >>> mydatacenter.getPendingFiles()
     96    >>> mydatacenter.getFiles()
    9797    [<waeup.kofa.datacenter.DataCenterFile object at 0x...>]
    9898
     
    102102pages:
    103103
    104     >>> datafile = mydatacenter.getPendingFiles()[0]
     104    >>> datafile = mydatacenter.getFiles()[0]
    105105    >>> datafile.getSize()
    106106    '13 bytes'
     
    272272finished-subdirectory remain.
    273273
    274 
    275 We can get a list of imported files stored in the finished subfolder:
    276 
    277     >>> mydatacenter.getFinishedFiles()
    278     [<waeup.kofa.datacenter.DataCenterFile object at ...>, <waeup.kofa.datacenter.DataCenterFile object at ...>]
    279 
    280     >>> datafile = mydatacenter.getFinishedFiles()[0]
    281     >>> datafile.getSize()
    282     '2 bytes'
    283 
    284     >>> datafile.getDate() # Nearly current datetime...
    285     '...'
    286 
    287 
    288274Clean up:
    289275
Note: See TracChangeset for help on using the changeset viewer.