Changeset - 3e52568394ef
[Not reviewed]
default
0 4 0
drewp@bigasterisk.com - 9 years ago 2016-06-11 21:14:10
drewp@bigasterisk.com
fix logging that might be printing blank lines
Ignore-this: 466a7535187fe5eead34587134b441eb
4 files changed with 4 insertions and 8 deletions:
0 comments (0 inline, 0 general)
light9/Submaster.py
Show inline comments
 
@@ -379,7 +379,7 @@ def get_sub_by_name(name, submasters=Non
 
if __name__ == "__main__":
 
    reload_data()
 
    s = Submasters()
 
    print s.get_all_subs()
 
    print 'subs', s.get_all_subs()
 
    if 0: # turn this on to normalize all subs
 
        for sub in s.get_all_subs():
 
            print "before", sub
light9/effect/effecteval.py
Show inline comments
 
@@ -36,7 +36,6 @@ class EffectEval(object):
 
    def updateEffectsFromGraph(self):
 
        self.effectOutputs = {}
 
        for effect in self.graph.subjects(RDF.type, L9['Effect']):
 
            print "found fx", effect
 
            settings = []
 
            for setting in self.graph.objects(effect, L9['setting']):
 
                d = self.graph.value(setting, L9['device'])
 
@@ -50,7 +49,6 @@ class EffectEval(object):
 

	
 
            if settings:
 
                self.effectOutputs[effect] = settings
 
                print settings
 
        
 
    def outputFromEffect(self, effectSettings, songTime):
 
        """
light9/rdfdb/syncedgraph.py
Show inline comments
 
@@ -109,8 +109,7 @@ class SyncedGraph(CurrentStateGraphApi, 
 
        # Rerequest the full state from the server, try the patch
 
        # again after that, then give up.
 
        debugKey = '[id=%s]' % (id(p) % 1000)
 
        print ''
 
        log.debug("apply local patch %s %s", debugKey, p)
 
        log.debug("\napply local patch %s %s", debugKey, p)
 
        try:
 
            patchQuads(self._graph,
 
                       deleteQuads=p.delQuads,
light9/uihelpers.py
Show inline comments
 
@@ -103,13 +103,12 @@ def toggle_slider(s):
 

	
 
# for lambda callbacks
 
def printout(t):
 
    print t
 
    print 'printout', t
 

	
 
def printevent(ev):
 
    for k in dir(ev):
 
        if not k.startswith('__'):
 
            print k,getattr(ev,k)
 
    print ""
 
            print 'ev', k, getattr(ev,k)
 

	
 
def eventtoparent(ev,sequence):
 
    "passes an event to the parent, screws up TixComboBoxes"
0 comments (0 inline, 0 general)