mirror of https://github.com/ecmwf/eccodes.git
Fix broken python interface (removal of headers_only)
This commit is contained in:
parent
9376dce02c
commit
e1ac37bc5f
|
@ -982,7 +982,8 @@ int grib_c_new_gts_from_file(FILE* f,int headers_only, int* gid){
|
||||||
int err = 0;
|
int err = 0;
|
||||||
|
|
||||||
if(f){
|
if(f){
|
||||||
h = gts_new_from_file(0,f,headers_only,&err);
|
/* h = gts_new_from_file(0,f,headers_only,&err); */
|
||||||
|
h = gts_new_from_file(0,f,&err);
|
||||||
|
|
||||||
if(h){
|
if(h){
|
||||||
push_handle(h,gid);
|
push_handle(h,gid);
|
||||||
|
@ -1002,7 +1003,8 @@ int grib_c_new_bufr_from_file(FILE* f,int headers_only,int* gid){
|
||||||
int err = 0;
|
int err = 0;
|
||||||
|
|
||||||
if(f){
|
if(f){
|
||||||
h = bufr_new_from_file(0,f,headers_only,&err);
|
/* h = bufr_new_from_file(0,f,headers_only,&err); */
|
||||||
|
h = bufr_new_from_file(0,f, &err);
|
||||||
|
|
||||||
if(h){
|
if(h){
|
||||||
push_handle(h,gid);
|
push_handle(h,gid);
|
||||||
|
|
Loading…
Reference in New Issue