]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Ignore pylint error 'hashlib' has no shaxxx member
authorXing Yang <xing.yang@emc.com>
Fri, 29 Aug 2014 04:09:28 +0000 (00:09 -0400)
committerXing Yang <xing.yang@emc.com>
Fri, 29 Aug 2014 16:18:06 +0000 (12:18 -0400)
commite516f9af83b9873b2f2ce787177feae8179f9890
tree8a6a24d4c12ba3d3d7faa991d111342806820220
parent91f196692113967ec1143d3d10f9fe11cc37018c
Ignore pylint error 'hashlib' has no shaxxx member

The following pylint error was found:

cinder/backup/drivers/swift.py:486: [E1101, SwiftBackupDriver.backup]
Module 'hashlib' has no 'sha256' member

Affected patch:
https://review.openstack.org/#/c/110068/

A similar pylint error "Module 'hashlib' has no 'sha224' member"
was also generated.

However, both 'sha256' and 'sha224' are functions in 'hashlib'.  So
these errors should be ignored.

Change-Id: I84690813b6c6a15e661e27acdf97149996951978
tools/lintstack.py