eval, instead of __getattr__

This commit is contained in:
Dimitur Kirov 2005-08-01 23:42:51 +00:00
parent 9a03441f75
commit a25a59fe84
1 changed files with 1 additions and 1 deletions

View File

@ -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: