##
-## This file is part of the sigrok project.
+## This file is part of the libsigrokdecode project.
##
## Copyright (C) 2012 Uwe Hermann <uwe@hermann-uwe.de>
##
self.state = 'WAIT FOR RISING EDGE'
else:
- raise Exception('Invalid state: %d' % self.state)
+ raise Exception('Invalid state: %s' % self.state)
self.oldval = val