Browse Source

D'autres modifs pep8

pull/3/head
Luthaf 11 years ago
parent
commit
7c678e626b
  1. 4
      songbook/build.py

4
songbook/build.py

@ -178,8 +178,8 @@ def makeTexFile(sb, output):
# output template # output template
commentPattern = re.compile(r"^\s*%") commentPattern = re.compile(r"^\s*%")
with codecs.open(os.path.join(template_dir, template), 'r', 'utf-8') as f: with codecs.open(os.path.join(template_dir, template), 'r', 'utf-8') as template_file:
content = [line for line in f if not commentPattern.match(line)] content = [line for line in template_file if not commentPattern.match(line)]
for index, line in enumerate(content): for index, line in enumerate(content):
if re.compile("getDataImgDirectory").search(line): if re.compile("getDataImgDirectory").search(line):

Loading…
Cancel
Save