From e6766f5ba13de5b87e456c303dc35efa3edc8bf5 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Sun, 1 Sep 2013 04:34:29 +0000 Subject: [PATCH] [r22981]Fix misguided change to poll_external signature svn: r22982 --- gramps/gui/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gramps/gui/utils.py b/gramps/gui/utils.py index 0f6c3bbc6..0ea512747 100644 --- a/gramps/gui/utils.py +++ b/gramps/gui/utils.py @@ -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