Fix pylint complaints

This commit is contained in:
Jesse Mullan
2014-11-01 17:02:56 -07:00
parent a300b62184
commit 364deea051
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -233,7 +233,8 @@ _CONFIG_DEFINITIONS = {
'XLDPROFILE': (str, 'General', '')
}
# pylint:disable=R0902
# it might be nice to refactor for fewer instance variables
class Config(object):
""" Wraps access to particular values in a config file """
+1 -1
View File
@@ -388,7 +388,7 @@ class CueFile(File):
except:
raise ValueError('Cant encode CUE Sheet.')
if self.content[0] == '\ufeff':
if self.content[0] == u'\ufeff':
self.content = self.content[1:]
header = header_parser()
+1 -1
View File
@@ -1378,7 +1378,7 @@ class WebInterface(object):
def osxnotifyregister(self, app):
cherrypy.response.headers['Cache-Control'] = "max-age=0,no-cache,no-store"
from lib.osxnotify import registerapp as osxnotify
from osxnotify import registerapp as osxnotify
result, msg = osxnotify.registerapp(app)
if result:
osx_notify = notifiers.OSX_NOTIFY()