Skip to content

Commit

Permalink
pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
nilshempelmann committed Jan 7, 2019
1 parent 24ce042 commit 1843853
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions eggshell/eo/gdal_merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ def GetOutputDriversFor(filename):
ext = GetExtension(filename)
for i in range(gdal.GetDriverCount()):
drv = gdal.GetDriver(i)
if (drv.GetMetadataItem(gdal.DCAP_CREATE) is not None or
drv.GetMetadataItem(gdal.DCAP_CREATECOPY) is not None) and
drv.GetMetadataItem(gdal.DCAP_RASTER) is not None:
if (drv.GetMetadataItem(gdal.DCAP_CREATE) is not None or drv.GetMetadataItem(
gdal.DCAP_CREATECOPY) is not None) and drv.GetMetadataItem(gdal.DCAP_RASTER) is not None:
if len(ext) > 0 and DoesDriverHandleExtension(drv, ext):
drv_list.append(drv.ShortName)
else:
Expand Down

0 comments on commit 1843853

Please sign in to comment.