I'm registering pysvn.Client.callback_get_login callback, but I want my callback to be defined under my class, as method, rather then global function.
So, in my class I want to have something like:
self.client = pysvn.Client()
self.client.callback_get_login = self.get_login
instead:
self.client = pysvn.Client()
self.client.callback_get_login = get_login
But in 1st snippet I'm getting error:
pysvn._pysvn_2_7.ClientError: unhandled exception in callback_get_login
Is there a way to assign callback that is inside a class?