From e9463556175dd1661dee06f473f166910ddd1eca Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Tue, 9 Feb 2016 16:38:29 +0100 Subject: [PATCH] Typos --- patacrep/content/__init__.py | 2 +- patacrep/content/sort.py | 1 - test/test_songbook/content.sb | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/patacrep/content/__init__.py b/patacrep/content/__init__.py index 9b049a68..c265f5b7 100755 --- a/patacrep/content/__init__.py +++ b/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. diff --git a/patacrep/content/sort.py b/patacrep/content/sort.py index b87f251d..7ee5aff0 100755 --- a/patacrep/content/sort.py +++ b/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. """ diff --git a/test/test_songbook/content.sb b/test/test_songbook/content.sb index 19fe515a..a49ff77f 100644 --- a/test/test_songbook/content.sb +++ b/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"