[Twisted-Python] cred realm with __init__ methods under twistd

Ross Vandegrift ross at kallisti.us
Tue Jul 8 07:30:48 MDT 2008


On Tue, Jul 08, 2008 at 01:25:46AM +0200, Maarten ter Huurne wrote:
> On Tuesday 08 July 2008, Ross Vandegrift wrote:
> 
> > log.msg("Initialized devices: " % devices)
> 
> There is no placeholder (like "%s") in the message string. This will raise a 
> TypeError. Probably something is swallowing this error or an earlier error 
> instead of displaying it.

Aha - not only that but there was another typo in there throwing an
exception in the first iteration of my setup loop.  Good catch :)

Ross




More information about the Twisted-Python mailing list