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 678398 Details for
Bug 895195
Port gausssum's use of PIL to support Pillow for F19
[?]
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]
Patch to use the form of import of PIL that is pillow compatible
gausssum-pillow.patch (text/plain), 917 bytes, created by
Toshio Ernie Kuratomi
on 2013-01-14 19:11:24 UTC
(
hide
)
Description:
Patch to use the form of import of PIL that is pillow compatible
Filename:
MIME Type:
Creator:
Toshio Ernie Kuratomi
Created:
2013-01-14 19:11:24 UTC
Size:
917 bytes
patch
obsolete
>Index: GaussSum-2.2.5/gausssum/plot.py >=================================================================== >--- GaussSum-2.2.5.orig/gausssum/plot.py >+++ GaussSum-2.2.5/gausssum/plot.py >@@ -25,13 +25,18 @@ import tkMessageBox # For the Error > from tempfile import mkstemp > > from Tkinter import * >-import Image as PIL # Python Imaging Library >-import ImageTk # Python Imaging Library >+from PIL import Image # Python Imaging Library >+from PIL import ImageTk # Python Imaging Library > from gnupy import Gnuplot > > # Kludge necessary for using PIL when using py2exe > # (see http://www.py2exe.org/index.cgi/PIL_and_py2exe) >-import PngImagePlugin # Python Imaging Library >+from PIL import PngImagePlugin # Python Imaging Library >+ >+# Not sure why the code was doing this (via import Image as PIL). Preserve it >+# for now >+PIL = Image >+ > PIL._initialized = 2 > > class DisplayPlot(object):
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 895195
: 678398