societegenerale: PIL is a global requirement

And no other module or component has an ImportError message for PIL.
It is also outdated, as users might install pillow instead.
This commit is contained in:
Laurent Bachelier 2014-10-11 11:50:38 +02:00
commit 55d37401bc

View file

@ -18,12 +18,10 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
import hashlib
from weboob.tools.log import getLogger
try:
from PIL import Image
except ImportError:
raise ImportError('Please install python-imaging')
from PIL import Image
from weboob.tools.log import getLogger
class TileError(Exception):