From f81c978d0356871d6d5d537df6ce9b084a51bb19 Mon Sep 17 00:00:00 2001 From: Ferry Boender Date: Wed, 8 Apr 2015 08:13:27 +0200 Subject: [PATCH] Moved DaemonError class definition to top of file. --- src/scriptform.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/scriptform.py b/src/scriptform.py index b94b1c0..92e5b0e 100755 --- a/src/scriptform.py +++ b/src/scriptform.py @@ -151,6 +151,10 @@ class ScriptFormError(BaseException): pass +class DaemonError(BaseException): + pass + + class ScriptForm: """ 'Main' class that orchestrates parsing the Form configurations, hooking up @@ -840,10 +844,6 @@ class ScriptFormWebApp(WebAppHandler): os.unlink(file_name) -class DaemonError(BaseException): - pass - - class Daemon: """ Daemonize the current process (detach it from the console).