[totem/gnome-3-30] opensubtitles: Fix "class inherits from object" pylint warning



commit f60c117696ecfb1d2e27b1ab46804e4276ba7601
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]