changeset 412:cc56bc1fd56b

Code-quality: prepares template.py for logging.
author Bernhard Reiter <bernhard@intevation.de>
date Wed, 03 May 2017 12:59:37 +0200
parents 0650c47e7a1c
children a499441249af
files getan/template.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/getan/template.py	Wed May 03 11:51:39 2017 +0200
+++ b/getan/template.py	Wed May 03 12:59:37 2017 +0200
@@ -5,6 +5,7 @@
 # This is Free Software licensed under the terms of GPLv3 or later.
 # For details see LICENSE coming with the source of 'getan'.
 
+# import logging
 import os.path
 import sys
 
@@ -14,6 +15,9 @@
 
 from getan.backend import Backend, DEFAULT_DATABASE
 
+# logging.basicConfig(level='DEBUG')  # quick fix until getan-eval.py offers it
+# logger = logging.getLogger()
+
 
 def human_time(delta):
     days = delta.days
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)