[submodule "lib/librarian"]
path = lib/librarian
- url = git://github.com/fnp/librarian.git
+ url = git://git.nowoczesnapolska.org.pl/librarian.git
self.assertEqual(form.cleaned_data['title'], u"Pirate StaĆczyk")
self.assertEqual(form.cleaned_data['license_name'], "CC BY 2.0")
self.assertEqual(form.cleaned_data['license_url'], "http://creativecommons.org/licenses/by/2.0/deed.en")
- self.assertEqual(form.cleaned_data['download_url'], "https://farm8.staticflickr.com/7069/6941928577_2a0306f6a6_b.jpg")
+ self.assertEqual(form.cleaned_data['download_url'], "https://farm8.staticflickr.com/7069/6941928577_415844c58e_o.jpg")
If chunk and rev number are given, use version from given revision.
If rev is not given, use publishable version.
"""
- import Image
+ from PIL import Image
from librarian.cover import WLCover
from librarian.dcparser import BookInfo
@require_POST
def preview_from_xml(request):
from hashlib import sha1
- import Image
+ from PIL import Image
from os import makedirs
from lxml import etree
from librarian.cover import WLCover
-Subproject commit 1ffcf32a8d795681f54bd125ca45e908da5ed3fb
+Subproject commit 85ab1e2d4b363dc747eacda08fa254586905cf25
lxml>=2.2.2
mercurial>=1.6,<1.7
PyYAML>=3.0
-PIL>=1.1
+Pillow
oauth2
httplib2 # oauth2 dependency