From 4077ffb3cbd868df95239898563508b64e6d6ecf Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Wed, 7 Dec 2011 17:15:19 +0100 Subject: [PATCH 1/1] doctest fix --- librarian/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/librarian/__init__.py b/librarian/__init__.py index 9fe0c52..32a3af0 100644 --- a/librarian/__init__.py +++ b/librarian/__init__.py @@ -92,9 +92,9 @@ class WLURI(object): """Contructs an URI from slug and language code. >>> WLURI.from_slug_and_lang('a-slug', WLURI.DEFAULT_LANGUAGE).uri - 'http://wolnelektury.pl/katalog/lektura/a-slug/' + u'http://wolnelektury.pl/katalog/lektura/a-slug/' >>> WLURI.from_slug_and_lang('a-slug', 'deu').uri - 'http://wolnelektury.pl/katalog/lektura/a-slug/deu/' + u'http://wolnelektury.pl/katalog/lektura/a-slug/deu/' """ if lang is None: -- 2.20.1