Fix broken python interface (removal of headers_only)

This commit is contained in:
Shahram Najm 2015-01-29 12:39:07 +00:00
parent 9376dce02c
commit e1ac37bc5f
1 changed files with 4 additions and 2 deletions

View File

@ -982,7 +982,8 @@ int grib_c_new_gts_from_file(FILE* f,int headers_only, int* gid){
int err = 0;
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){
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;
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){
push_handle(h,gid);