Changeset - ae359590eb8a
[Not reviewed]
default
0 2 0
Drew Perttula - 12 years ago 2013-06-04 23:52:13
drewp@bigasterisk.com
2 files changed with 4 insertions and 4 deletions:
0 comments (0 inline, 0 general)
bin/subcomposer
Show inline comments
 
@@ -94,7 +94,6 @@ class EditChoice(tk.Frame):
 

	
 

	
 
    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 @@ class Subcomposer(tk.Frame):
 
        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 @@ class EntryCommand(tk.Frame):
 
    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')
light9/dmxclient.py
Show inline comments
 
@@ -42,7 +42,8 @@ def outputlevels(levellist,twisted=0,cli
 
            time.sleep(1)
 
    else:
 
        def err(error):
 
            log.error("dmx server error %s", error)
 
            log.error("dmx server error talking to %s: %s",
 
                      networking.dmxServer.url, error.getErrorMessage())
 
            time.sleep(1)
 
        d = _dmx.callRemote('outputlevels', clientid, levellist)
 
        d.addErrback(err)
0 comments (0 inline, 0 general)