mirror of https://github.com/ecmwf/eccodes.git
ECC-1497: bufr_dump -D/-E python: Drop support for Python2
This commit is contained in:
parent
ab93da4a34
commit
1e3b100ff3
|
@ -643,7 +643,6 @@ static void header(grib_dumper* d, grib_handle* h)
|
||||||
fprintf(self->dumper.out, "# Using ecCodes version: ");
|
fprintf(self->dumper.out, "# Using ecCodes version: ");
|
||||||
grib_print_api_version(self->dumper.out);
|
grib_print_api_version(self->dumper.out);
|
||||||
fprintf(self->dumper.out, "\n\n");
|
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 traceback\n");
|
||||||
fprintf(self->dumper.out, "import sys\n");
|
fprintf(self->dumper.out, "import sys\n");
|
||||||
fprintf(self->dumper.out, "from eccodes import *\n\n\n");
|
fprintf(self->dumper.out, "from eccodes import *\n\n\n");
|
||||||
|
|
|
@ -869,7 +869,6 @@ static void header(grib_dumper* d, grib_handle* h)
|
||||||
fprintf(self->dumper.out, "# Using ecCodes version: ");
|
fprintf(self->dumper.out, "# Using ecCodes version: ");
|
||||||
grib_print_api_version(self->dumper.out);
|
grib_print_api_version(self->dumper.out);
|
||||||
fprintf(self->dumper.out, "\n\n");
|
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 sys\n");
|
||||||
fprintf(self->dumper.out, "import traceback\n\n");
|
fprintf(self->dumper.out, "import traceback\n\n");
|
||||||
fprintf(self->dumper.out, "from eccodes import *\n\n\n");
|
fprintf(self->dumper.out, "from eccodes import *\n\n\n");
|
||||||
|
|
Loading…
Reference in New Issue