Browse Source

Revert unneeded customization

pull/124/head
Oliverpool 9 years ago
parent
commit
3f7ed4cb00
  1. 2
      patacrep/songs/chordpro/ast.py
  2. 2
      patacrep/templates.py

2
patacrep/songs/chordpro/ast.py

@ -246,7 +246,7 @@ class Song(AST):
self.meta[data.keyword] = [] self.meta[data.keyword] = []
self.meta[data.keyword].append(data) self.meta[data.keyword].append(data)
def get_data_argument(self, keyword, default=None): def get_data_argument(self, keyword, default):
"""Return `self.meta[keyword].argument`. """Return `self.meta[keyword].argument`.
Return `default` if `self.meta[keyword]` does not exist. Return `default` if `self.meta[keyword]` does not exist.

2
patacrep/templates.py

@ -8,7 +8,7 @@ import os
import re import re
import json import json
from patacrep import errors, files, songs from patacrep import errors, files
from patacrep.latex import lang2babel from patacrep.latex import lang2babel
import patacrep.encoding import patacrep.encoding

Loading…
Cancel
Save