[PATCH 10/17] rt-tests: hwlatdetect: Keep consistent name from abstract method

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Keep the variable name consistent between the abstract method and the
method overriding it.

Signed-off-by: John Kacur <jkacur@xxxxxxxxxx>
---
 src/hwlatdetect/hwlatdetect.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/hwlatdetect/hwlatdetect.py b/src/hwlatdetect/hwlatdetect.py
index 7cd038ba913e..c07ddbb0e89e 100755
--- a/src/hwlatdetect/hwlatdetect.py
+++ b/src/hwlatdetect/hwlatdetect.py
@@ -239,7 +239,7 @@ class Detector:
         '''set a value in a debugfs field'''
         raise RuntimeError("must override base method 'set'!")
 
-    def save(self, reportfile=None):
+    def save(self, output=None):
         '''save sample data to reportfile'''
         raise RuntimeError("must override base method 'save'!")
 
-- 
2.31.1




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux