Pylint for common/repomaker.py
authorLingchaox Xin <lingchaox.xin@intel.com>
Thu, 20 Jun 2013 02:36:09 +0000 (10:36 +0800)
committerLingchaox Xin <lingchaox.xin@intel.com>
Fri, 21 Jun 2013 07:44:47 +0000 (15:44 +0800)
In hashlib module, md5, sha256 ... are defined dynamically according to
Openssl library availability in order to use the fastest available
implementation, but pylint can NOT understand it, so diable it.

Change-Id: I5f43625fe87aa0971a9a109258b6529c2ab9857f

common/repomaker.py

index 4d60b0e..24e2fac 100644 (file)
@@ -21,7 +21,7 @@ RepoMaker - creates download repos
 
 import os
 import shutil
-from hashlib import sha256
+from hashlib import sha256 # pylint: disable-msg=E0611
 
 from common.builddata import BuildData, BuildDataError
 from common.imagedata import ImageData