Changeset 1739:8a0ab80584c7


Ignore:
Timestamp:
Dec 28, 2018, 10:01:01 PM (3 months ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Message:
Disable `misplaced-bare-raise`

Contrary to what Pylint complains about, this is _not_ an error
because the `new_onerror` function is supposed to be called only
during handling of an exception.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ftputil/host.py

    r1735 r1739  
    765765            def new_onerror(*args):
    766766                """Re-raise exception."""
    767                 # pylint: disable=unused-argument
     767                # pylint: disable=misplaced-bare-raise, unused-argument
    768768                raise
    769769        else:
Note: See TracChangeset for help on using the changeset viewer.