Commits

Stefan Schwarzer committed d2e4fca

Be more explicit about setting the flag on the `-a` option.

  • Participants
  • Parent commits 1065cff

Comments (0)

Files changed (1)

File ftputil/__init__.py

             ftp_error._try_with_oserror(self._session.dir, u"-a", self.curdir,
                                         callback)
         except ftp_error.PermanentError:
-            pass
+            self._accepts_list_a_option = False
         else:
             self._accepts_list_a_option = True