0f5691573264436352d67f147fadb0367631b441
1 # -*- coding: utf-8 -*-
3 formatage des événements
9 from events
import eventNames
11 self
= sys
.modules
[__name__
]
15 return '%s (%s)' % (e
.midi
, e
.nom
)
17 def log_COLSTATECHANGE(e
) :
18 return u
'%5s %s' % (e
.state
, e
.syllabus
)
24 for type, name
in eventNames
.items() :
25 f
= getattr(self
, 'log_%s' % name
, log_default
)
28 __all__
= ('pprinters')