From 901b8357f4e39de80d130f48f7ea6b466e88e348 Mon Sep 17 00:00:00 2001 From: Andrei Tsaregorodtsev Date: Fri, 17 Jun 2022 14:01:47 +0200 Subject: [PATCH] fix: dls - printout in case of -L options --- src/COMDIRAC/Interfaces/scripts/dls.py | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/COMDIRAC/Interfaces/scripts/dls.py b/src/COMDIRAC/Interfaces/scripts/dls.py index bbb803a..ea00685 100644 --- a/src/COMDIRAC/Interfaces/scripts/dls.py +++ b/src/COMDIRAC/Interfaces/scripts/dls.py @@ -178,26 +178,15 @@ def printListing(self, reverse, timeorder, sizeorder, humanread): size = e[4] if humanread: size = self.humanReadableSize(e[4]) - print( str(e[0]), - ) - print( str(e[1]).rjust(wList[1]), - ) - print( str(e[2]).ljust(wList[2]), - ) - print( str(e[3]).ljust(wList[3]), - ) - print( str(size).rjust(wList[4]), - ) - print( str(e[5]).rjust(wList[5]), + str(e[6]), ) - print(str(e[6])) # print replicas if present if len(e) > 7: