Ignore:
Timestamp:
Dec 25, 2018, 10:55:24 PM (9 months ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
histedit_source:
160218f7e8d5388866cabb8ce12f3d2f32ec82ca,bd2e407ea486f11e94d86b0419db5e02843089e1
Message:
Set `use_list_a_option` to `False` by default

See ticket #110 for the reasoning.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ftputil/host.py

    r1688 r1711  
    9494        # `download_if_newer`).
    9595        self.set_time_shift(0.0)
    96         # Use `LIST -a` option by default. If this causes problems,
    97         # the user can set the attribute to `False`.
    98         warnings.warn(
    99           "`use_list_a_option` will default to `False` in ftputil 4.x.x",
    100           DeprecationWarning, stacklevel=2)
    101         self.use_list_a_option = True
     96        # Don't use `LIST -a` option by default. If the server doesn't
     97        # understand the `-a` option and interprets it as a path, the
     98        # results can be surprising. See ticket #110.
     99        self.use_list_a_option = False
    102100
    103101    def keep_alive(self):
Note: See TracChangeset for help on using the changeset viewer.