def _callbackWrapper(self, callback, result): """ Wraps the callback, so there will be no concurrent write-operatons on the COOKIEFILE """ HTTPCookies.save() callback(result)