[PATCH 1/3] Use isinstance instead of type for doing type checks.
David Shea
dshea at redhat.com
Thu May 7 20:56:07 UTC 2015
On 05/07/2015 01:41 PM, Chris Lumens wrote:
> pylint has gotten picky about this recently, and this is similar to other
> patches I made for blivet and pyparted. In a couple of these places, I
> think we are being too clever, but that is likely a fair bit more work.
> ---
> pyanaconda/anaconda_argparse.py | 3 ++-
> pyanaconda/flags.py | 3 ++-
> pyanaconda/iutil.py | 4 ++--
> pyanaconda/nm.py | 5 +++--
> pyanaconda/ui/tui/simpleline/base.py | 3 ++-
> scripts/makebumpver | 10 ++++------
> tests/pylint/markup.py | 2 +-
> tests/pylint/pointless-override.py | 2 +-
> 8 files changed, 17 insertions(+), 15 deletions(-)
These three all look fine.
More information about the anaconda-patches
mailing list