Make prefseditor.py enable debugging when it's run directly

This commit is contained in:
Chris Jones 2010-01-22 13:00:26 +00:00
parent e9e1101d26
commit d025954c60
1 changed files with 2 additions and 0 deletions

View File

@ -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)