From e5ca4186daffdc5480b31f1ef2e21239216bc2e8 Mon Sep 17 00:00:00 2001 From: romjerome Date: Wed, 21 Dec 2016 12:16:56 +0100 Subject: [PATCH] 9824: pylint error: no enable_debug, move to LOG.debug was pull request #284 --- gramps/plugins/importer/importgeneweb.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gramps/plugins/importer/importgeneweb.py b/gramps/plugins/importer/importgeneweb.py index 59e60b8f5..201f132c0 100644 --- a/gramps/plugins/importer/importgeneweb.py +++ b/gramps/plugins/importer/importgeneweb.py @@ -1152,8 +1152,7 @@ class GeneWebParser: except UnicodeDecodeError: pass - return( s) + return(s) - def debug( self, txt): - if enable_debug: - print(txt) + def debug(self, txt): + LOG.debug(txt)