Browse Source

Typos

pull/190/head
Oliverpool 9 years ago
parent
commit
e946355617
  1. 2
      patacrep/content/__init__.py
  2. 1
      patacrep/content/sort.py
  3. 2
      test/test_songbook/content.sb

2
patacrep/content/__init__.py

@ -252,7 +252,7 @@ def process_content(content, config=None):
"""Process content, and return a list of ContentItem() objects.
Arguments are:
- content: the content field of the .sb file, which should be an imbricated list
- content: the content field of the .sb file, which should be a nested list
and describe what is to be included in the songbook;
- config: the configuration dictionary of the current songbook.

1
patacrep/content/sort.py

@ -89,7 +89,6 @@ def parse(keyword, config, argument):
- config: the current songbook configuration dictionary;
- argument: a dict of:
key: the list of the fields used to sort songs (e.g. "by", "album", "title")
a minus mean reverse order: "-title"
content: content to be sorted. If this content
contain something else than a song, an exception is raised.
"""

2
test/test_songbook/content.sb

@ -12,7 +12,7 @@ content:
- sort:
- songsection: Test of song section
- cwd:
# relative to sg file
# relative to sb file
path: content_datadir/content
content:
- "song.csg"

Loading…
Cancel
Save