Skip to content
Snippets Groups Projects
Commit a25a59fe authored by dkirov's avatar dkirov
Browse files

eval, instead of __getattr__

parent 9a03441f
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment