Changeset 782:0ae4120c9040


Ignore:
Timestamp:
Apr 30, 2009, 10:17:54 PM (10 years ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Convert:
svn:778c30c8-61e0-0310-89d4-fe2f97a467b2/trunk@833
Message:
Added comment on cache invalidation in `FTPHost.file`.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ftputil.py

    r773 r782  
    228228        host._file._open(effective_file, mode)
    229229        if 'w' in mode:
     230            # invalidate cache entry because size and timestamps will change
    230231            self.stat_cache.invalidate(effective_path)
    231232        return host._file
Note: See TracChangeset for help on using the changeset viewer.