Ignore:
Timestamp:
6 May 2012, 20:48:22 (13 years ago)
Author:
uli
Message:

Add deleted dir in standard filecenter paths.

Location:
main/waeup.kofa/trunk/src/waeup/kofa
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/batchprocessing.txt

    r8330 r8372  
    544544
    545545    >>> sorted(os.listdir(dc_path))
    546     ['finished', 'logs', 'unfinished']
     546    ['deleted', 'finished', 'logs', 'unfinished']
    547547
    548548    >>> os.listdir(dc_path + '/unfinished')
     
    550550
    551551    >>> sorted(os.listdir(dc_path + '/finished'))
    552     ['certificates_zope.mgr.create.finished.csv', ..., 
    553      'newfaculties_zope.mgr.create.finished.csv', 
     552    ['certificates_zope.mgr.create.finished.csv', ...,
     553     'newfaculties_zope.mgr.create.finished.csv',
    554554     'newfaculties_zope.mgr.csv']
    555555
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/browser.txt

    r8364 r8372  
    11971197
    11981198  >>> sorted(os.listdir(uploadpath))
    1199   ['finished', 'logs', 'unfinished']
     1199  ['deleted', 'finished', 'logs', 'unfinished']
    12001200
    12011201
     
    12381238
    12391239  >>> sorted(os.listdir(uploadpath))
    1240   ['finished', 'logs', 'myfaculties_zope.mgr.csv', 'unfinished']
     1240  ['deleted', 'finished', 'logs', 'myfaculties_zope.mgr.csv', 'unfinished']
    12411241
    12421242We create and upload also a CSV file containing departments:
  • main/waeup.kofa/trunk/src/waeup/kofa/datacenter.py

    r7933 r8372  
    5050        """Create standard subdirs.
    5151        """
    52         for name in ['finished', 'unfinished', 'logs']:
     52        for name in ['finished', 'unfinished', 'logs', 'deleted']:
    5353            path = os.path.join(self.storage, name)
    5454            if os.path.exists(path):
     
    9898            raise ValueError('The path given does not exist: %s' % path)
    9999        if move is True:
    100 
    101100            not_copied = copy_filesystem_tree(self.storage, path,
    102101                                            overwrite=overwrite)
  • main/waeup.kofa/trunk/src/waeup/kofa/datacenter.txt

    r7819 r8372  
    146146    ...                            pending_src, mode='create')
    147147    >>> sorted(os.listdir(dc_root))
    148     ['finished', 'logs', 'unfinished']
     148    ['deleted', 'finished', 'logs', 'unfinished']
    149149
    150150    >>> sorted(os.listdir(fin_dir))
     
    171171    ...                                 pending_src, mode='create')
    172172    >>> sorted(os.listdir(dc_root))
    173     ['finished', 'logs', 'mysource.create.pending.csv', 'unfinished']
     173    ['deleted', 'finished', 'logs', 'mysource.create.pending.csv', 'unfinished']
    174174
    175175    >>> sorted(os.listdir(fin_dir))
     
    192192
    193193    >>> sorted(os.listdir(dc_root))
    194     ['finished', 'logs', 'unfinished']
     194    ['deleted', 'finished', 'logs', 'unfinished']
    195195
    196196    >>> sorted(os.listdir(fin_dir))
     
    228228
    229229    >>> sorted(os.listdir(dc_root))
    230     ['finished', 'logs', 'mysource.create.pending.csv', 'unfinished']
     230    ['deleted', 'finished', 'logs', 'mysource.create.pending.csv', 'unfinished']
    231231
    232232    >>> sorted(os.listdir(fin_dir))
     
    244244
    245245    >>> sorted(os.listdir(dc_root))
    246     ['finished', 'logs', 'unfinished']
     246    ['deleted', 'finished', 'logs', 'unfinished']
    247247
    248248    >>> sorted(os.listdir(fin_dir))
Note: See TracChangeset for help on using the changeset viewer.