2003-06-26 Tim Waugh <twaugh@redhat.com>
* src/ImgManip.py: Seems to need the SIGCHLD handler resetting here to prevent EINTR causing traceback. svn: r1788
This commit is contained in:
parent
9d7ad535e3
commit
95ab5bcaea
@ -1,4 +1,6 @@
|
||||
2003-06-26 Tim Waugh <twaugh@redhat.com>
|
||||
* src/ImgManip.py: Seems to need the SIGCHLD handler resetting here
|
||||
to prevent EINTR causing traceback.
|
||||
* src/plugins/Ancestors.py: Cite sources.
|
||||
|
||||
2003-06-26 Don Allingham <dallingham@users.sourceforge.net>
|
||||
|
@ -20,6 +20,7 @@
|
||||
|
||||
import os
|
||||
import const
|
||||
import signal
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -66,6 +67,7 @@ class ImgManip:
|
||||
|
||||
def fmt_scale_data(self,x,y,cnv):
|
||||
cmd = "%s -geometry %dx%d '%s' '%s:-'" % (const.convert,x,y,self.src,cnv)
|
||||
signal.signal (signal.SIGCHLD, signal.SIG_DFL)
|
||||
r,w = popen2.popen2(cmd)
|
||||
buf = r.read()
|
||||
r.close()
|
||||
|
Loading…
Reference in New Issue
Block a user