Revision f1e8a6e2

b/snf-cyclades-app/synnefo/api/management/commands/listservers.py
75 75
        for server in servers:
76 76
            id = str(server.id)
77 77
            flavor = server.flavor.name
78
            image = get_image(server.imageid, server.userid)['name']
78
            try:
79
                image = get_image(server.imageid, server.userid)['name']
80
            except:
81
                image = server.imageid
79 82
            fields = (id, server.name, server.userid, flavor, image,
80 83
                      server.operstate)
81 84
            

Also available in: Unified diff