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/a/n/Anomos-HEAD/anondownloadgui.py   Anomos(Download)
        got_control_socket = False
        try:
            controlsocket.send_command('no-op')
        except BTFailure:
            # XXX: this should pop up an error message for the user
        if not got_control_socket:
            for data in datas:
                controlsocket.send_command('start_torrent', data)
            for error in errors:
                controlsocket.send_command('show_error', error)
            sys.exit(0)
    elif not got_control_socket:
        controlsocket.send_command('show_error', '%s already running'%app_name)