def disconnect_prof(self): import digsbyprofile as d if d.profile: from AsyncoreThread import call_later call_later(d.profile.disconnect) if d.profile is self._profile: self.unwatch_profile(d.profile)
def netcall(callable, callback = None): from AsyncoreThread import call_later call_later(callable, callback = callback)
def netcall(callable, callback=None): from AsyncoreThread import call_later call_later(callable, callback=callback)