[Git][security-tracker-team/security-tracker][master] Update hashbang for remaining python2 scripts
Emilio Pozuelo Monfort
pochu at debian.org
Mon Aug 31 11:16:20 BST 2020
Emilio Pozuelo Monfort pushed to branch master at Debian Security Tracker / security-tracker
Commits:
44ec51aa by Emilio Pozuelo Monfort at 2020-08-31T12:15:53+02:00
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.
- - - - -
5 changed files:
- bin/list-queue
- bin/mass-bug-filer
- bin/secmaster.py
- check-external/unknown-packages.py
- data/DTSA/dtsa
Changes:
=====================================
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 at deneb.enyo.de>
#
=====================================
bin/mass-bug-filer
=====================================
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
from __future__ import print_function
import sys
=====================================
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 at deneb.enyo.de>
#
=====================================
check-external/unknown-packages.py
=====================================
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
import urllib2
import SOAPpy
import os
=====================================
data/DTSA/dtsa
=====================================
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
import sys, getopt, os, glob
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/44ec51aaee9146d7f53b74ccec6c715afc005434
--
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/44ec51aaee9146d7f53b74ccec6c715afc005434
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-security-tracker-commits/attachments/20200831/18d2e57f/attachment.html>
More information about the debian-security-tracker-commits
mailing list