Skip to content
Permalink
Browse files

fix #11110

  • Loading branch information
jef-n committed Sep 10, 2014
1 parent 297996f commit 890f921e06267d7bf2c0029bd0dedf014e5b5a49
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/GdalTools/tools/GdalTools_utils.py
@@ -227,7 +227,7 @@ def fillRasterOutputFormat(aFilter = None, filename = None):

if aFilter != None:
supportedRasters = GdalConfig.getSupportedRasters()
filterName = re.sub('^.*\] ', '', FileFilter.getFilterName( aFilter[0] ))
filterName = re.sub('^.*\] ', '', FileFilter.getFilterName( aFilter ))
if supportedRasters.has_key( filterName ):
return supportedRasters[ filterName ][ "SHORTNAME" ]

@@ -246,7 +246,7 @@ def fillVectorOutputFormat(aFilter = None, filename = None):

if aFilter != None:
supportedVectors = GdalConfig.getSupportedVectors()
filterName = re.sub('^.*\] ', '', FileFilter.getFilterName( aFilter[0] ))
filterName = re.sub('^.*\] ', '', FileFilter.getFilterName( aFilter ))
if supportedVectors.has_key( filterName ):
return supportedVectors[ filterName ][ "SHORTNAME" ]

0 comments on commit 890f921

Please sign in to comment.
You can’t perform that action at this time.