• Michael Hanselmann's avatar
    Add FileLock utility class · a87b4824
    Michael Hanselmann authored
    This class is a wrapper around fcntl.flock and abstracts opening and
    closing the lockfile. It'll used for the job queue.
    
    (The patch also removes a duplicate import of tempfile into the unittest)
    
    Reviewed-by: iustinp
    a87b4824
utils.py 32.9 KB