ECC-1497: bufr_dump -D/-E python: Drop support for Python2

This commit is contained in:
Shahram Najm 2022-12-25 14:44:47 +00:00
parent ab93da4a34
commit 1e3b100ff3
2 changed files with 0 additions and 2 deletions

View File

@ -643,7 +643,6 @@ static void header(grib_dumper* d, grib_handle* h)
fprintf(self->dumper.out, "# Using ecCodes version: ");
grib_print_api_version(self->dumper.out);
fprintf(self->dumper.out, "\n\n");
fprintf(self->dumper.out, "from __future__ import print_function\n");
fprintf(self->dumper.out, "import traceback\n");
fprintf(self->dumper.out, "import sys\n");
fprintf(self->dumper.out, "from eccodes import *\n\n\n");

View File

@ -869,7 +869,6 @@ static void header(grib_dumper* d, grib_handle* h)
fprintf(self->dumper.out, "# Using ecCodes version: ");
grib_print_api_version(self->dumper.out);
fprintf(self->dumper.out, "\n\n");
fprintf(self->dumper.out, "from __future__ import print_function\n\n");
fprintf(self->dumper.out, "import sys\n");
fprintf(self->dumper.out, "import traceback\n\n");
fprintf(self->dumper.out, "from eccodes import *\n\n\n");