Пример #1
0
def get_all_hosts():
    return [('', 'Select a host')] + map(lambda x: (x, x), helpers.get_host_names())
Пример #2
0
def get_all_hosts():
    return [('', _('Select a host'))] + [(x, x)
                                         for x in helpers.get_host_names()]
Пример #3
0
def get_all_hosts():
    return [('', _('Select a host'))] + map(lambda x:
                                            (x, x), helpers.get_host_names())
Пример #4
0
def get_all_hosts():
    return [("", "Select a host")] + map(lambda x: (x, x), helpers.get_host_names())