[r22981]Fix misguided change to poll_external signature

svn: r22982
This commit is contained in:
John Ralls 2013-09-01 04:34:29 +00:00
parent 824b11fd48
commit e6766f5ba1

View File

@ -359,7 +359,7 @@ class SystemFonts(object):
#
#
#-------------------------------------------------------------------------
def poll_external (proc, errorstrings):
def poll_external (args):
"""
Check the for completion of a task launched with
subprocess.Popen(). This function is intended to be passed to
@ -371,6 +371,7 @@ def poll_external (proc, errorstrings):
@returns False when the function has completed.
"""
from .dialog import ErrorDialog
(proc, errorstrings) = args
resp = proc.poll()
if resp is None:
return True