aboutsummaryrefslogtreecommitdiffstats
path: root/tools/workspace_status.py
diff options
context:
space:
mode:
authorDaniele Sassoli <danielesassoli@gmail.com>2024-06-24 09:16:57 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2024-06-28 01:10:17 +0200
commitd8f450aebb26cd1179ff39d0198a34b38a358b67 (patch)
treeda6a582adb197f6e38989f4fb514f9f83082370d /tools/workspace_status.py
parent025ef8dfd9a3437e4c234430ce2a062ddfb01fc9 (diff)
downloadjgit-d8f450aebb26cd1179ff39d0198a34b38a358b67.tar.gz
jgit-d8f450aebb26cd1179ff39d0198a34b38a358b67.zip
Migrate to python 3
Given that on most systems Python is still linked to the Python 2.7, switch explicitly to using Python 3. Python 2.7 was discontinued on January 1, 2020: [1]. Moreover, there is PEP recommending to use python3 in the shebang: [2]. [1] https://www.python.org/doc/sunset-python-2 [2] https://www.python.org/dev/peps/pep-0394 Change-Id: Idd3ed567b0384c6ff0a6121ad736f8af4c0f85e0
Diffstat (limited to 'tools/workspace_status.py')
-rw-r--r--tools/workspace_status.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/workspace_status.py b/tools/workspace_status.py
index ca9e0a98c9..1186a4a77a 100644
--- a/tools/workspace_status.py
+++ b/tools/workspace_status.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Copyright (C) 2020, David Ostrovsky <david@ostrovsky.org> and others
#
# This program and the accompanying materials are made available under the