Blob Blame History Raw
diff -ur dmlite-1.14.1.orig/scripts/StAR-accounting/star-accounting.py dmlite-1.14.1/scripts/StAR-accounting/star-accounting.py
--- dmlite-1.14.1.orig/scripts/StAR-accounting/star-accounting.py	2020-09-24 12:12:28.000000000 +0200
+++ dmlite-1.14.1/scripts/StAR-accounting/star-accounting.py	2020-11-01 21:21:03.885665263 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/python2
+#!/usr/bin/python3
 ###########################################################################
 #
 # star-accounting
diff -ur dmlite-1.14.1.orig/shell/src/argus.py dmlite-1.14.1/shell/src/argus.py
--- dmlite-1.14.1.orig/shell/src/argus.py	2020-09-24 12:12:28.000000000 +0200
+++ dmlite-1.14.1/shell/src/argus.py	2020-11-01 21:24:40.692135650 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/python2
+#!/usr/bin/python3
 # Simplified Argus banning data extracted from server configuration
 # read directly by its WSDL interface.
 #
diff -ur dmlite-1.14.1.orig/shell/src/dmlite-mysql-dirspaces.py dmlite-1.14.1/shell/src/dmlite-mysql-dirspaces.py
--- dmlite-1.14.1.orig/shell/src/dmlite-mysql-dirspaces.py	2020-09-24 12:12:28.000000000 +0200
+++ dmlite-1.14.1/shell/src/dmlite-mysql-dirspaces.py	2020-11-01 21:21:03.885665263 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/python2
+#!/usr/bin/python3
 #
 # A script that calculates the space occupied by files in every directory
 # and can set the metadata filesize field with it, for the first N levels
diff -ur dmlite-1.14.1.orig/shell/src/dmlite-prom.py dmlite-1.14.1/shell/src/dmlite-prom.py
--- dmlite-1.14.1.orig/shell/src/dmlite-prom.py	2020-09-24 12:12:28.000000000 +0200
+++ dmlite-1.14.1/shell/src/dmlite-prom.py	2020-11-01 21:24:40.693135652 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/python2
+#!/usr/bin/python3
 #
 # Dump DPM DOME information in a format that can be scraped
 # by prometheus Node exporter text collector
diff -ur dmlite-1.14.1.orig/shell/src/dmlite-shell dmlite-1.14.1/shell/src/dmlite-shell
--- dmlite-1.14.1.orig/shell/src/dmlite-shell	2020-09-24 12:12:28.000000000 +0200
+++ dmlite-1.14.1/shell/src/dmlite-shell	2020-11-01 21:24:40.693135652 +0100
@@ -1,4 +1,4 @@
-#! /usr/bin/python2
+#! /usr/bin/python3
 # dmliteshell.py
 """
 This file implements the DMLite shell.
diff -ur dmlite-1.14.1.orig/shell/src/dome-info-provider.py dmlite-1.14.1/shell/src/dome-info-provider.py
--- dmlite-1.14.1.orig/shell/src/dome-info-provider.py	2020-09-24 12:12:28.000000000 +0200
+++ dmlite-1.14.1/shell/src/dome-info-provider.py	2020-11-01 21:21:03.883665259 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/python2
+#!/usr/bin/python3
 
 import argparse
 import socket
diff -ur dmlite-1.14.1.orig/shell/src/dpm-storage-summary.cgi dmlite-1.14.1/shell/src/dpm-storage-summary.cgi
--- dmlite-1.14.1.orig/shell/src/dpm-storage-summary.cgi	2020-09-24 12:12:28.000000000 +0200
+++ dmlite-1.14.1/shell/src/dpm-storage-summary.cgi	2020-11-01 21:21:03.884665261 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/python2
+#!/usr/bin/python3
 # CGI wrapper for dpm-storage-summary.py
 #
 # Parameters read from environment:
diff -ur dmlite-1.14.1.orig/shell/src/dpm-storage-summary.py dmlite-1.14.1/shell/src/dpm-storage-summary.py
--- dmlite-1.14.1.orig/shell/src/dpm-storage-summary.py	2020-09-24 12:12:28.000000000 +0200
+++ dmlite-1.14.1/shell/src/dpm-storage-summary.py	2020-11-01 21:21:03.885665263 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/python2
+#!/usr/bin/python3
 # WLCG Storage Resource Reporting implementation for DPM
 # * https://docs.google.com/document/d/1yzCvKpxsbcQC5K9MyvXc-vBF1HGPBk4vhjw3MEXoXf8/edit
 # * https://twiki.cern.ch/twiki/bin/view/LCG/AccountingTaskForce
diff -ur dmlite-1.14.1.orig/shell/src/utils.py dmlite-1.14.1/shell/src/utils.py
--- dmlite-1.14.1.orig/shell/src/utils.py	2020-09-24 12:12:28.000000000 +0200
+++ dmlite-1.14.1/shell/src/utils.py	2020-11-01 21:24:40.693135652 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/python2
+#!/usr/bin/python3
 from __future__ import absolute_import
 from __future__ import print_function
 from __future__ import division
diff -ur dmlite-1.14.1.orig/tests/dpm/dpm-tester.py dmlite-1.14.1/tests/dpm/dpm-tester.py
--- dmlite-1.14.1.orig/tests/dpm/dpm-tester.py	2020-09-24 12:12:28.000000000 +0200
+++ dmlite-1.14.1/tests/dpm/dpm-tester.py	2020-11-01 21:21:03.886665265 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/python2
+#!/usr/bin/python3
 from __future__ import print_function, division, absolute_import
 
 import gfal2