nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at litex 30 lines 941 B view raw
1--- a/barman/command_wrappers.py 2+++ b/barman/command_wrappers.py 3@@ -1144,5 +1144,5 @@ 4 # * pass the current configuration file with -c 5 # * set it quiet with -q 6- self.command = [sys.executable, command, "-c", config, "-q", subcommand] 7+ self.command = [command, "-c", config, "-q", subcommand] 8 self.keep_descriptors = keep_descriptors 9 # Handle args for the sub-command (like the server name) 10 11--- a/tests/test_command_wrappers.py 12+++ a/tests/test_command_wrappers.py 13@@ -1595,5 +1595,4 @@ 14 ) 15 assert subprocess.command == [ 16- sys.executable, 17 sys.argv[0], 18 "-c", 19@@ -1622,5 +1621,4 @@ 20 ) 21 assert subprocess.command == [ 22- sys.executable, 23 "path/to/barman", 24 "-c", 25@@ -1644,5 +1642,4 @@ 26 27 command = [ 28- sys.executable, 29 "path/to/barman", 30 "-c",