From d025954c60b9201c86a50596c58c5183a8c9412e Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Fri, 22 Jan 2010 13:00:26 +0000 Subject: [PATCH] Make prefseditor.py enable debugging when it's run directly --- terminatorlib/prefseditor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/terminatorlib/prefseditor.py b/terminatorlib/prefseditor.py index 9fa6eafc..0c64e64c 100755 --- a/terminatorlib/prefseditor.py +++ b/terminatorlib/prefseditor.py @@ -860,6 +860,8 @@ class PrefsEditor: self.liststore.set(iter, 2, 0, 3, 0) if __name__ == '__main__': + import util + util.DEBUG = True import terminal term = terminal.Terminal() foo = PrefsEditor(term)