Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/u/p/UPDIAN-0.6/updian/frontend/views.py   UPDIAN(Download)
    else:
        try:
            server_id = serverlist.index(Server(hostname))
            server = serverlist[server_id]
        except ValueError:
            else:
                # edit existing entry
                existing_id = serverlist.index(Server(request.form['host_id']))
                serverlist[existing_id] = server
 

src/u/p/UPDIAN-HEAD/updian/frontend/views.py   UPDIAN(Download)
    else:
        try:
            server_id = serverlist.index(Server(hostname))
            server = serverlist[server_id]
        except ValueError:
            else:
                # edit existing entry
                existing_id = serverlist.index(Server(request.form['host_id']))
                serverlist[existing_id] = server