From e1ac37bc5fad242279294b88098382764f7e03af Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Thu, 29 Jan 2015 12:39:07 +0000 Subject: [PATCH] Fix broken python interface (removal of headers_only) --- python/grib_interface.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/python/grib_interface.c b/python/grib_interface.c index 066361d59..956fab28d 100644 --- a/python/grib_interface.c +++ b/python/grib_interface.c @@ -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);