From: Radek Czajka Date: Wed, 7 Dec 2011 16:15:19 +0000 (+0100) Subject: doctest fix X-Git-Tag: 1.7~184 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/4077ffb3cbd868df95239898563508b64e6d6ecf?hp=edbda465ca1fceabe219d5caea95d513d61c6976 doctest fix --- 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: