claudep/django — pull request #3 by yellowcap (2014-12-01 17:33:02+00:00)
Title: Added cpl error codes to errcheck functions

Not sure if this is the right way to do this, but today I realized that the errorcodes for OGR and GDAL are not the same. So I added a gdal flag to the errcheck function, to add control over which error codes and messages should be used.