Browse Source

(pylint) correct unused imports and vars

pull/190/head
Oliverpool 9 years ago
parent
commit
f405d2b44c
  1. 1
      patacrep/content/__init__.py
  2. 2
      patacrep/content/section.py
  3. 2
      patacrep/content/songsection.py

1
patacrep/content/__init__.py

@ -241,7 +241,6 @@ def process_content(content, config=None):
""" """
contentlist = ContentList() contentlist = ContentList()
plugins = config.get('_content_plugins', {}) plugins = config.get('_content_plugins', {})
keyword_re = re.compile(r'^ *(?P<keyword>[\w\*]*) *(\((?P<argument>.*)\))? *$')
if not content: if not content:
content = [{'song': None}] content = [{'song': None}]
for elem in content: for elem in content:

2
patacrep/content/section.py

@ -1,6 +1,6 @@
"""Allow LaTeX sections (starred or not) as content of a songbook.""" """Allow LaTeX sections (starred or not) as content of a songbook."""
from patacrep.content import ContentItem, ContentError, ContentList, EmptyContentList from patacrep.content import ContentItem, ContentList
KEYWORDS = [ KEYWORDS = [
"part", "part",

2
patacrep/content/songsection.py

@ -1,6 +1,6 @@
"""Allow 'songchapter' and 'songsection' as content of a songbook.""" """Allow 'songchapter' and 'songsection' as content of a songbook."""
from patacrep.content import ContentItem, ContentError, ContentList, EmptyContentList from patacrep.content import ContentItem, ContentList
KEYWORDS = [ KEYWORDS = [
"songchapter", "songchapter",

Loading…
Cancel
Save