diff bin/subcomposer @ 834:ae359590eb8a

logging Ignore-this: 38894578f8bf4cf53b29f684ea9b8fe4
author Drew Perttula <drewp@bigasterisk.com>
date Tue, 04 Jun 2013 23:52:13 +0000
parents bdfdfea84510
children 321fc6150ee3
line wrap: on
line diff
--- a/bin/subcomposer	Tue Jun 04 23:51:57 2013 +0000
+++ b/bin/subcomposer	Tue Jun 04 23:52:13 2013 +0000
@@ -94,7 +94,6 @@
 
 
     def uriChanged(self, newUri):
-        print "chg", newUri
         # i guess i show the label and icon for this
         if newUri is Local:
             self.subIcon.config(text="(local)")
@@ -154,7 +153,7 @@
         currentUri = Observable(Local)
 
         def pc(val):
-            print "change viewed sub to", val
+            log.info("change viewed sub to %s", val)
         currentUri.subscribe(pc)
 
         EditChoice(self, self.graph, currentUri).frame.pack(side='top')
@@ -221,7 +220,7 @@
     def action(self, *args):
         subname = self.entry.get()
         self.cmd(subname)
-        print "sub", self.cmd, subname
+        log.info("command %s %s", self.cmd, subname)
 
     def set(self, text):
         self.entry.delete(0, 'end')