Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 679884 Details for
Bug 896257
Update tucan import of PIL for F19 switch to Pillow
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Change imports of PIL Library so they'll work with pillow
tucan-0.3.10-pillow.patch (text/plain), 897 bytes, created by
Stephen Gallagher
on 2013-01-16 22:25:50 UTC
(
hide
)
Description:
Change imports of PIL Library so they'll work with pillow
Filename:
MIME Type:
Creator:
Stephen Gallagher
Created:
2013-01-16 22:25:50 UTC
Size:
897 bytes
patch
obsolete
>diff -ruN tucan-0.3.10.orig/core/dependencies.py tucan-0.3.10/core/dependencies.py >--- tucan-0.3.10.orig/core/dependencies.py 2013-01-16 17:21:49.673133553 -0500 >+++ tucan-0.3.10/core/dependencies.py 2013-01-16 17:22:43.372017490 -0500 >@@ -55,7 +55,7 @@ > """""" > self.checked[cons.DEPENDENCY_TESSERACT] = None > try: >- import Image >+ from PIL import Image > except: > message = "PIL not found." > self.checked[cons.DEPENDENCY_TESSERACT] = message >diff -ruN tucan-0.3.10.orig/core/tesseract.py tucan-0.3.10/core/tesseract.py >--- tucan-0.3.10.orig/core/tesseract.py 2013-01-16 17:21:49.672133555 -0500 >+++ tucan-0.3.10/core/tesseract.py 2013-01-16 17:22:19.136069873 -0500 >@@ -26,9 +26,9 @@ > import subprocess > import tempfile > >-import ImageFile >-import Image >-import TiffImagePlugin >+from PIL import ImageFile >+from PIL import Image >+from PIL import TiffImagePlugin > > import cons >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 896257
: 679884