Changeset efa05d7 in flex_extract.git for python/tools.py


Ignore:
Timestamp:
Sep 2, 2018, 3:05:06 PM (6 years ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
master, ctbto, dev
Children:
308e144
Parents:
97e09f4
Message:

added more testcases

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/tools.py

    r97e09f4 refa05d7  
    316316    '''
    317317    @Description:
    318         If "filename" exists , it is removed.
     318        Remove file if it exists.
    319319        The function does not fail if the file does not exist.
    320320
     
    329329        os.remove(filename)
    330330    except OSError as e:
    331         # this would be "except OSError, e:" before Python 2.6
    332331        if e.errno != errno.ENOENT:
    333332            # errno.ENOENT  =  no such file or directory
     
    427426    @Input:
    428427        directory: string
    429             The directory path which should be created.
     428            The directory name including the path which should be created.
    430429
    431430    @Return:
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG