From a25a59fe8470080307ab44f07b7ae20badbf2632 Mon Sep 17 00:00:00 2001 From: Dimitur Kirov Date: Mon, 1 Aug 2005 23:42:51 +0000 Subject: [PATCH] eval, instead of __getattr__ --- scripts/gajim-remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gajim-remote.py b/scripts/gajim-remote.py index ed45d844e..7afa4f323 100755 --- a/scripts/gajim-remote.py +++ b/scripts/gajim-remote.py @@ -211,7 +211,7 @@ Please specify account for sending the message.') % sys.argv[2]) else: send_error(_('Unknow dbus version: %s') % _version) # get the function asked - self.method = self.interface.__getattr__(self.command) + self.method = eval('self.interface.'+self.command) def make_arguments_row(self, args): ''' return arguments list. Mandatory arguments are enclosed with: