$ bzr diff === modified file 'phatch/core/config.py' --- phatch/core/config.py 2009-06-03 02:51:15 +0000 +++ phatch/core/config.py 2009-06-03 10:58:59 +0000 @@ -132,8 +132,12 @@ #only when the gui is involved pyWxLib = os.path.join(phatch_path,'pyWx','lib') if os.path.isdir(pyWxLib): fix_python_path(pyWxLib) - #other people module (patches for pil) + #other people module fix_python_path(os.path.join(phatch_path,'other')) + #patches for pil < 1.1.6 + import Image + if Image.VERSION < '1.1.6': + fix_python_path(os.path.join(phatch_path,'other','pil-1.1.6')) #user actions fix_python_path(USER_ACTIONS_PATH) #load locale
=== added directory 'phatch/other/pil-1.1.6' === renamed file 'phatch/other/JpegImagePlugin.py' => 'phatch/other/pil-1.1.6/JpegImagePlugin.py' === renamed file 'phatch/other/TiffImagePlugin.py' => 'phatch/other/pil-1.1.6/TiffImagePlugin.py'
$ bzr commit -m "no patches for pil 1.1.7" Committing to: /home/stani/sync/python/phatch/trunk/ modified phatch/core/config.py added phatch/other/pil-1.1.6 renamed phatch/other/JpegImagePlugin.py => phatch/other/pil-1.1.6/JpegImagePlugin.py renamed phatch/other/TiffImagePlugin.py => phatch/other/pil-1.1.6/TiffImagePlugin.py Committed revision 627.
$ 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.