fix a pylint complaint in test_handler_growpart

E1103: 81,44:TestWriteFile.test_basic_usage: Instance of 'Bunch' has no 
   'st_mode' member (but some types could not be inferred)

so, if it wants st_mode, for now just give it one.
This commit is contained in:
Scott Moser 2013-03-07 15:54:59 -05:00
parent 2f0ac052dd
commit 836e0938c1

View File

@ -246,6 +246,7 @@ def simple_device_part_info(devpath):
class Bunch:
st_mode = None # fix pylint complaint
def __init__(self, **kwds):
self.__dict__.update(kwds)