[SCM] morituri/master: fix pychecker warning

js at users.alioth.debian.org js at users.alioth.debian.org
Sun Oct 19 20:10:14 UTC 2014


The following commit has been merged in the master branch:
commit b379f60c2807e0408e5abf307308dbcfe2c3fc7c
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Sat Nov 23 15:54:24 2013 -0500

    fix pychecker warning

diff --git a/morituri/rip/common.py b/morituri/rip/common.py
index ccf1ef2..e931646 100644
--- a/morituri/rip/common.py
+++ b/morituri/rip/common.py
@@ -28,13 +28,13 @@ disc and track template are:
 
 '''
 
-def addTemplate(self):
+def addTemplate(obj):
     # FIXME: get from config
-    self.parser.add_option('', '--track-template',
+    obj.parser.add_option('', '--track-template',
         action="store", dest="track_template",
         help="template for track file naming (default %default)",
         default=DEFAULT_TRACK_TEMPLATE)
-    self.parser.add_option('', '--disc-template',
+    obj.parser.add_option('', '--disc-template',
         action="store", dest="disc_template",
         help="template for disc file naming (default %default)",
         default=DEFAULT_DISC_TEMPLATE)

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list