Signature of base method in class 'AccelBase'

Signature of method 'AccelQAT.compress_img()' does not match
signature of the base method in class 'AccelBase'[1].

[1] https://stackoverflow.com/questions/6034662/python-method-overriding-does-signature-matter

Change-Id: I15df362fc796dc58fc66c9ef6dbdef981f7162ea
This commit is contained in:
maaoyu 2021-10-15 10:59:20 +08:00
parent 0cd1b7c275
commit c1222fc008

View File

@ -39,11 +39,11 @@ class AccelBase(object, metaclass=abc.ABCMeta):
return
@abc.abstractmethod
def compress_img(self, run_as_root):
def compress_img(self, src, dest, run_as_root):
return
@abc.abstractmethod
def decompress_img(self, run_as_root):
def decompress_img(self, src, dest, run_as_root):
return