[virt-tools-list] [virt-manager PATCH] pylint: Skip hashlib import hackery and remove unused variable

Cole Robinson crobinso at redhat.com
Mon Jan 20 15:30:25 UTC 2014


On 01/20/2014 09:19 AM, Giuseppe Scrivano wrote:
> Martin Kletzander <mkletzan at redhat.com> writes:
> 
>> hashlib's dynamic import hackery makes pylint very sad since it cannot
>> realize that the module has sha256 member (just created dynamically),
>> so let's just make it skip this error.
>>
>> Also remove unused variable in virtinst.cli
>>
>> Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
>> ---
>>  virtinst/cli.py       | 3 +--
>>  virtinst/virtimage.py | 4 ++--
>>  2 files changed, 3 insertions(+), 4 deletions(-)
> 

Newer pylint should be smart enough to avoid that error, but disabling it is
fine too.

ACK




More information about the virt-tools-list mailing list