Browse Source

Less Pylint warnings

pull/25/head
Louis 11 years ago
parent
commit
eb208252b6
  1. 4
      songbook_core/build.py
  2. 2
      songbook_core/errors.py

4
songbook_core/build.py

@ -5,7 +5,6 @@
import codecs
import glob
import logging
import os.path
import re
import subprocess
@ -61,7 +60,8 @@ class Songbook(object):
self.songslist = None
self._parse(raw_songbook)
def _set_songs_default(self, config):
@staticmethod
def _set_songs_default(config):
"""Set the default values for the Song() class.
Argument:

2
songbook_core/errors.py

@ -13,7 +13,7 @@ class SongbookError(Exception):
class TemplateError(SongbookError):
"""Error during template generation"""
def __init__(self, original, message = None):
def __init__(self, original, message=None):
super(TemplateError, self).__init__()
self.original = original
self.message = message

Loading…
Cancel
Save