aboutsummaryrefslogtreecommitdiffstats
path: root/community/xkcdpass/fix-bin-name.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/xkcdpass/fix-bin-name.patch')
-rw-r--r--community/xkcdpass/fix-bin-name.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/xkcdpass/fix-bin-name.patch b/community/xkcdpass/fix-bin-name.patch
new file mode 100644
index 0000000000..ad96945700
--- /dev/null
+++ b/community/xkcdpass/fix-bin-name.patch
@@ -0,0 +1,11 @@
+--- xkcdpass-1.14.2/tests/test_xkcdpass.py
++++ xkcdpass-1.14.2/tests/test_xkcdpass.py.new
+@@ -32,7 +32,7 @@
+ def test_commandlineCount(self):
+ count = 5
+ result = subprocess.check_output(
+- ["python", "xkcdpass/xkcd_password.py", "-w", WORDFILE,
++ ["python3", "xkcdpass/xkcd_password.py", "-w", WORDFILE,
+ "-c", str(count)])
+ self.assertTrue(result.count(b"\n"), count)
+