aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2021-02-12 19:26:22 -0500
committerDavid Bremner <david@tethera.net>2021-02-15 16:32:31 -0400
commit7061e41cd0ed7a37dab83687697a692a53c5a66f (patch)
treed09037963a9263ed0f4dd8d5ad3310e0a5fa5f25
parent1b2ec7578e7dd442bd76d620564553aaa70e9e9b (diff)
python: convert shebangs to python3
This is the last bit of "python" left in the notmuch codebase. https://www.python.org/dev/peps/pep-0394/#recommendation encourages "third-party distributors" to use more-specific shebang lines. I'm not certain that the notmuch project itself is a "third-party contributor" but I think this is a safe way to encourage people to use python3 when they're developing notmuch. We already have python3 explicitly elsewhere in the codebase for developers (in nmbug). Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
-rw-r--r--bindings/python/setup.py2
-rwxr-xr-xtest/json_check_nodes.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/bindings/python/setup.py b/bindings/python/setup.py
index d986f0c6..6308b9f9 100644
--- a/bindings/python/setup.py
+++ b/bindings/python/setup.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""
This file is part of notmuch.
diff --git a/test/json_check_nodes.py b/test/json_check_nodes.py
index 17403c57..fd8f1607 100755
--- a/test/json_check_nodes.py
+++ b/test/json_check_nodes.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import re
import sys
import json