Changeset 797:7a14276b224c


Ignore:
Timestamp:
May 10, 2009, 9:52:09 AM (12 years ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Convert:
svn:778c30c8-61e0-0310-89d4-fe2f97a467b2/trunk@865
Message:
In the docstring for `synchronize_times`, point out that the time
shift can also be set explicitly with `set_time_shift`.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ftputil.py

    r782 r797  
    371371        Synchronize the local times of FTP client and server. This
    372372        is necessary to let `upload_if_newer` and `download_if_newer`
    373         work correctly.
     373        work correctly. If `synchronize_times` isn't applicable
     374        (see below), the time shift can still be set explicitly with
     375        `set_time_shift`.
    374376
    375377        This implementation of `synchronize_times` requires _all_ of
     
    380382          current when `synchronize_times` is called.
    381383
    382         The usual usage pattern of `synchronize_times` is to call it
     384        The common usage pattern of `synchronize_times` is to call it
    383385        directly after the connection is established. (As can be
    384386        concluded from the points above, this requires write access
Note: See TracChangeset for help on using the changeset viewer.