On Sun, 2006-04-02 at 23:01 -0400, Reed L. O'Brien wrote: > reactor.addSystemEventTrigger('before', 'shutdown', func()) > > def func(): > doStuff... > > closer? # notice lack of parentheses after func: reactor.addSystemEventTrigger('before', 'shutdown', func)