Phatch should not provide patches for PIL 1.1.7
Bug #382977 reported by
Stani
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Phatch |
Fix Released
|
Critical
|
Stani |
Bug Description
Phatch now provide patched modules for PIL for jpeg and tiff. Phatch should only add these modules to sys.path if the PIL version is lower than 1.1.7
Changed in phatch: | |
assignee: | nobody → stani (stani) |
importance: | Undecided → Critical |
status: | New → Confirmed |
Changed in phatch: | |
milestone: | none → 0.2.1 |
Changed in phatch: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
$ bzr diff core/config. py' core/config. py 2009-06-03 02:51:15 +0000 core/config. py 2009-06-03 10:58:59 +0000 join(phatch_ path,'pyWx' ,'lib') isdir(pyWxLib) : fix_python_ path(pyWxLib) python_ path(os. path.join( phatch_ path,'other' )) path(os. path.join( phatch_ path,'other' ,'pil-1. 1.6')) python_ path(USER_ ACTIONS_ PATH)
=== modified file 'phatch/
--- phatch/
+++ phatch/
@@ -132,8 +132,12 @@
#only when the gui is involved
pyWxLib = os.path.
if os.path.
- #other people module (patches for pil)
+ #other people module
fix_
+ #patches for pil < 1.1.6
+ import Image
+ if Image.VERSION < '1.1.6':
+ fix_python_
#user actions
fix_
#load locale
=== added directory 'phatch/ other/pil- 1.1.6' other/JpegImage Plugin. py' => 'phatch/ other/pil- 1.1.6/JpegImage Plugin. py' other/TiffImage Plugin. py' => 'phatch/ other/pil- 1.1.6/TiffImage Plugin. py'
=== renamed file 'phatch/
=== renamed file 'phatch/
$ bzr commit -m "no patches for pil 1.1.7" sync/python/ phatch/ trunk/ core/config. py other/pil- 1.1.6 other/JpegImage Plugin. py => phatch/ other/pil- 1.1.6/JpegImage Plugin. py other/TiffImage Plugin. py => phatch/ other/pil- 1.1.6/TiffImage Plugin. py
Committing to: /home/stani/
modified phatch/
added phatch/
renamed phatch/
renamed phatch/
Committed revision 627.