From ad3ccbdfa99fc22afbcb090d71c5a9cacaf035c3 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Tue, 3 Sep 2013 23:30:37 +0000 Subject: [PATCH] [r23013]minor cleanup svn: r23017 --- gramps/gui/utils.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gramps/gui/utils.py b/gramps/gui/utils.py index 68aecea0f..0f90ad7dc 100644 --- a/gramps/gui/utils.py +++ b/gramps/gui/utils.py @@ -385,9 +385,8 @@ def poll_external ((proc, errorstrings)): @proc the process, returned from subprocess.Popen() @errorstrings a dict of possible response values and the corresponding messages to display. - @returns False when the function has completed. + @returns bool returned to timeout_add_seconds: should this function be called again? """ - from QuestionDialog import ErrorDialog resp = proc.poll() if resp is None: return True @@ -403,7 +402,7 @@ def open_file_with_default_application(uri): type of file. @param file_path: The path to the file to be opened. - Example: "c:\foo.txt" + Example: "c:\\foo.txt" @type file_path: string @return: nothing """