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:
parent
2f0ac052dd
commit
836e0938c1
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user