@@ -72,8 +72,11 @@ def ogrinfo(
72
72
for feature_type in feature_types :
73
73
kwargs = {"xsd" : xsd , "dataset" : dataset , "feature_type" : feature_type }
74
74
return_code , output = gdal .execute (
75
- "ogrinfo" , command = cmd , kwargs = kwargs , local_path = extract_path ,
76
- output_logging = "BUFFER"
75
+ "ogrinfo" ,
76
+ command = cmd ,
77
+ kwargs = kwargs ,
78
+ local_path = extract_path ,
79
+ output_logging = "BUFFER" ,
77
80
)
78
81
if return_code == 0 :
79
82
layername , layerinfo = parse_ogrinfo (output , feature_type )
@@ -234,8 +237,11 @@ def ogr2postgres(
234
237
"dataset" : dataset ,
235
238
}
236
239
return_code , output = gdal .execute (
237
- "ogr2ogr" , command = cmd , kwargs = kwargs , local_path = extract_path ,
238
- output_logging = "BUFFER"
240
+ "ogr2ogr" ,
241
+ command = cmd ,
242
+ kwargs = kwargs ,
243
+ local_path = extract_path ,
244
+ output_logging = "BUFFER" ,
239
245
)
240
246
if return_code == 0 :
241
247
return postgrestable_metadata (context , new_table )
@@ -267,7 +273,7 @@ def pdal_info(
267
273
command = " " .join (cmd_list ),
268
274
local_path = file_path ,
269
275
silent = (not verbose ),
270
- output_logging = "BUFFER"
276
+ output_logging = "BUFFER" ,
271
277
)
272
278
except Exception as e :
273
279
if "Global encoding WKT flag" in str (e ):
0 commit comments