Mercurial > code > home > repos > light9
changeset 831:0f7e99d02dc6
subcomposer support logging. don't start with a bogus sub
Ignore-this: f28e1e812e0d7e26e49abb8ee428d4db
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Tue, 04 Jun 2013 23:17:06 +0000 |
parents | 9ba1c866bf4c |
children | 231a8b3aedc3 |
files | bin/subcomposer |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/subcomposer Tue Jun 04 23:16:51 2013 +0000 +++ b/bin/subcomposer Tue Jun 04 23:17:06 2013 +0000 @@ -2,6 +2,7 @@ from __future__ import division, nested_scopes from optparse import OptionParser +import logging import Tkinter as tk import louie as dispatcher from twisted.internet import reactor, tksupport, task @@ -15,6 +16,9 @@ from light9.rdfdb import clientsession from light9.tkdnd import initTkdnd, dragSourceRegister, dropTargetRegister +logging.basicConfig(level=logging.DEBUG) +log = logging.getLogger() + class _NoNewVal(object): pass @@ -148,7 +152,7 @@ self.levelbox = Levelbox(self, graph) self.levelbox.pack(side='top') - currentUri = Observable("http://curr") + currentUri = Observable(Local) def pc(val): print "change viewed sub to", val