Fix copied from https://bugs.launchpad.net/wicd/+bug/1421918/comments/2 --- wicd-1.7.3/curses/wicd-curses.py 2014-12-21 16:57:33 +0000 +++ wicd-1.7.3/curses/wicd-curses.py 2015-02-24 23:41:01 +0000 @@ -532,7 +532,10 @@ def get_selected_profile(self): """Get the selected wired profile""" loc = self.get_focus()[1] - return self.theList[loc] + if len(self.theList) > loc: + return self.theList[loc] + else: + return self.theList[-1] class AdHocDialog(Dialog2): td class='form'>
Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/nix/nix-daemon
AgeCommit message (Expand)Author
2023-12-11daemon: Implement ‘substitute-urls’ RPC....* nix/libstore/worker-protocol.hh (PROTOCOL_VERSION): Bump. (WorkerOp): Add ‘wopSubstituteURLs’. * nix/nix-daemon/nix-daemon.cc (performOp): Implement it. * guix/store.scm (%protocol-version): Bump. (operation-id): Add ‘substitute-urls’. (substitute-urls): New procedure. * tests/store.scm ("substitute-urls, default") ("substitute-urls, client-specified URLs") ("substitute-urls, disabled"): New tests. Change-Id: I2c0119500c3a1eecfa5ebf32463ffb0f173161de Ludovic Courtès