diff options
author | 2023-09-11 15:36:07 +0600 | |
---|---|---|
committer | 2023-09-11 15:37:06 +0600 | |
commit | 4db795c01f8d8b9ace74152d085e57f5faa3951c (patch) | |
tree | bc5b2b8225ff679d486a300d2cb29b26794a4dde /validate-csv-data | |
parent | 95f4ac3b93577904db02b4ddc74434cb07b59521 (diff) | |
download | distro-info-data-shopno-4db795c01f8d8b9ace74152d085e57f5faa3951c.tar.gz distro-info-data-shopno-4db795c01f8d8b9ace74152d085e57f5faa3951c.zip |
python: Drop eol build-depends
Signed-off-by: Mubashshir <ahm@jadupc.com>
Diffstat (limited to '')
-rwxr-xr-x | validate-csv-data | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/validate-csv-data b/validate-csv-data index 397b2c4..3e9e79e 100755 --- a/validate-csv-data +++ b/validate-csv-data @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Copyright (C) 2012, Benjamin Drung <bdrung@debian.org> # @@ -55,6 +55,9 @@ def error(filename, line, message, *args): """Prints an error message""" print >> sys.stderr, "%s:%i: %s." % (filename, line, message % args) +if not 'xrange' in globals(): + xrange = range + def validate(filename, distro): """Validates a given CSV file. |