Skip to content
Snippets Groups Projects
Commit a728fb9a authored by Wainer Vandelli's avatar Wainer Vandelli
Browse files

Pad castor checksum to have 8 chars

parent 6689313c
No related branches found
No related tags found
No related merge requests found
...@@ -72,7 +72,7 @@ def castorinfo(castorfile, castorenv, logger): ...@@ -72,7 +72,7 @@ def castorinfo(castorfile, castorenv, logger):
size = int(splitted[4]) size = int(splitted[4])
id = splitted.index('AD') id = splitted.index('AD')
checksum = nslsOut.split()[id+1] checksum = (nslsOut.split()[id+1]).zfill(8)
except ValueError: except ValueError:
size = checksum = None size = checksum = None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment