summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <pochu@debian.org>2020-08-31 12:09:57 +0200
committerEmilio Pozuelo Monfort <pochu@debian.org>2020-08-31 12:15:53 +0200
commitf9c322694810b263b1545b95814f83cf81367d2c (patch)
tree99812b37dc7527a9a4662fe5177a3ce0f0b60fe9
parentf7b54d32ce1be3169f29598dd497ed3f7656a3f7 (diff)
Update hashbang for remaining python2 scripts
These are all currently unused, so it's a bit hard to test them when porting them to Python 3. So rather than doing that, let's explicitly mark them as being Python 2. Before porting them we may want to check if they are still useful or if they should be removed instead.
-rwxr-xr-xbin/list-queue2
-rwxr-xr-xbin/mass-bug-filer2
-rwxr-xr-xbin/secmaster.py2
-rwxr-xr-xcheck-external/unknown-packages.py2
-rwxr-xr-xdata/DTSA/dtsa2
5 files changed, 5 insertions, 5 deletions
diff --git a/bin/list-queue b/bin/list-queue
index 2ac1e2f1de..52af2825f7 100755
--- a/bin/list-queue
+++ b/bin/list-queue
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
# list-queue -- list security-master queue contents
# Copyright (C) 2011 Florian Weimer <fw@deneb.enyo.de>
#
diff --git a/bin/mass-bug-filer b/bin/mass-bug-filer
index 0c1d3d9dec..6b559a5e99 100755
--- a/bin/mass-bug-filer
+++ b/bin/mass-bug-filer
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
from __future__ import print_function
import sys
diff --git a/bin/secmaster.py b/bin/secmaster.py
index 91e8c1a721..9ad44ea8e4 100755
--- a/bin/secmaster.py
+++ b/bin/secmaster.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
# secmaster -- access to data on security-master.debian.org
# Copyright (C) 2011 Florian Weimer <fw@deneb.enyo.de>
#
diff --git a/check-external/unknown-packages.py b/check-external/unknown-packages.py
index 63f30f4914..094d1d88ae 100755
--- a/check-external/unknown-packages.py
+++ b/check-external/unknown-packages.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
import urllib2
import SOAPpy
import os
diff --git a/data/DTSA/dtsa b/data/DTSA/dtsa
index 68fae53f3e..91d150e376 100755
--- a/data/DTSA/dtsa
+++ b/data/DTSA/dtsa
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
import sys, getopt, os, glob

© 2014-2024 Faster IT GmbH | imprint | privacy policy