Browse Source

Configuration option `_compiled_authwords` is no longer required

pull/79/head
Louis 9 years ago
parent
commit
a8aaf654f9
  1. 2
      patacrep/songs/__init__.py
  2. 1
      patacrep/songs/chordpro/test/test_parser.py

2
patacrep/songs/__init__.py

@ -143,7 +143,7 @@ class Song:
] ]
self.authors = process_listauthors( self.authors = process_listauthors(
self.authors, self.authors,
**config["_compiled_authwords"] **config.get("_compiled_authwords", {})
) )
# Cache management # Cache management

1
patacrep/songs/chordpro/test/test_parser.py

@ -20,7 +20,6 @@ class TestParsingRendering(unittest.TestCase):
config = DEFAULT_CONFIG.copy() config = DEFAULT_CONFIG.copy()
config.update({ config.update({
'encoding': 'utf8', 'encoding': 'utf8',
'_compiled_authwords': {},
}) })
for source in sorted(glob.glob(os.path.join( for source in sorted(glob.glob(os.path.join(
os.path.dirname(__file__), os.path.dirname(__file__),

Loading…
Cancel
Save