From 1a3f08203cccd4bdbe1546853c04b2d70be62ccf Mon Sep 17 00:00:00 2001 From: romjerome Date: Wed, 21 Dec 2016 11:54:27 +0100 Subject: [PATCH] 9824: pylint error: text variable does not exist for debug was pull request #284 --- gramps/gui/widgets/styledtexteditor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gui/widgets/styledtexteditor.py b/gramps/gui/widgets/styledtexteditor.py index 17f81750a..e876c0015 100644 --- a/gramps/gui/widgets/styledtexteditor.py +++ b/gramps/gui/widgets/styledtexteditor.py @@ -678,7 +678,7 @@ class StyledTextEditor(Gtk.TextView): self.textbuffer.apply_style(style, value) except ValueError: _LOG.debug("unable to convert '%s' to '%s'" % - (text, StyledTextTagType.STYLE_TYPE[style])) + (value, StyledTextTagType.STYLE_TYPE[style])) def _format_clear_cb(self, action): """