[totem/wip/hadess/pylint-warnings: 3/11] opensubtitles: Fix "class inherits from object" pylint warning



commit eb0927e29f07090f1b8629b0b47cbe74f785782d
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Nov 14 16:52:05 2018 +0100

    opensubtitles: Fix "class inherits from object" pylint warning
    
    Class 'OpenSubtitlesModel' inherits from object, can be safely removed from bases
    in python3 (useless-object-inheritance)

 src/plugins/opensubtitles/opensubtitles.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/opensubtitles/opensubtitles.py b/src/plugins/opensubtitles/opensubtitles.py
index a15576c1..f4ab5a46 100644
--- a/src/plugins/opensubtitles/opensubtitles.py
+++ b/src/plugins/opensubtitles/opensubtitles.py
@@ -251,7 +251,7 @@ class DownloadThread (threading.Thread):
 
 # OpenSubtitles.org API abstraction
 
-class OpenSubtitlesModel (object):
+class OpenSubtitlesModel:
     """
     This contains the logic of the opensubtitles service.
     """


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