qgis/Quantum-GIS — pull request #89 by tecoholic (2012-01-29 12:29:21+00:00)
Title: refactored code to reduce loop in favour of a function

Saving the GDAL Driver extension seemed clumsy with all those looping and string manipulations. Replaced it with the available native GDAL function instead, providing a neat and simple way.