> Jason Tackaberry wrote: >> On 2007-10-28 14:54, Dirk Meyer wrote: >>> + def _kaa_callback(self, func): >>> + """ >>> + Callback from the Twisted thread kaa should execute from >>> + the mainloop. >>> + """ >>> + a = kaa.notifier.MainThreadCallback(func) >>> + a.set_async(True) >>> + return a() >>> >> >> Should that be set_async(False)? > > Right, I always get confused to set False when I want to wait.
Why don't you rename set_async to set_sync then you would be avoiding the double negative? If you see what I mean. Duncan ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel