packages: python-PIL/python-PIL-viewer.patch - run only one viewer on show()

arekm arekm at pld-linux.org
Tue Feb 16 00:10:59 CET 2010


Author: arekm                        Date: Mon Feb 15 23:10:59 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- run only one viewer on show()

---- Files affected:
packages/python-PIL:
   python-PIL-viewer.patch (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/python-PIL/python-PIL-viewer.patch
diff -u packages/python-PIL/python-PIL-viewer.patch:1.3 packages/python-PIL/python-PIL-viewer.patch:1.4
--- packages/python-PIL/python-PIL-viewer.patch:1.3	Tue Feb 16 00:02:48 2010
+++ packages/python-PIL/python-PIL-viewer.patch	Tue Feb 16 00:10:54 2010
@@ -16,3 +16,14 @@
      class XVViewer(UnixViewer):
          def get_command_ex(self, file, title=None, **options):
              # note: xv is pretty outdated.  most modern systems have
+--- Imaging-1.1.7/PIL/ImageShow.py~	2010-02-16 00:01:02.588251213 +0100
++++ Imaging-1.1.7/PIL/ImageShow.py	2010-02-16 00:09:28.693824791 +0100
+@@ -63,7 +63,7 @@
+         if base != image.mode and image.mode != "1":
+             image = image.convert(base)
+ 
+-        self.show_image(image, **options)
++        return self.show_image(image, **options)
+ 
+     # hook methods
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-PIL/python-PIL-viewer.patch?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list