def get_vars_autocomplete_list(self, word): return [(var.name + '\t' + str(var.source or var.type_), '{0}'.format(insert_robot_var(var.name))) for var in self.autocomplete_variables if word.lower() in var.name.lower()]
def get_vars_autocomplete_list(self, word): return [ (var.name + '\t' + str(var.source or var.type_), '{0}'.format(insert_robot_var(var.name))) for var in self.autocomplete_variables if word.lower() in var.name.lower() ]