Skip to content

Fixing W1504 warning issued by pylint. Please review.

The following warning caused make check to fail. This fixes the pylint warning causing the failure:

$ make check
cd test; make --quiet
************* Module reposurgeon
reposurgeon:5009: [W1504(unidiomatic-typecheck), Repository.hint] Using type() instead of isinstance() for a typecheck.
make[2]: *** [pylint] Error 4
make[1]: *** [default] Error 2
make: *** [check] Error 2

Merge request reports