Changes between Version 12 and Version 13 of PythonGotchas


Ignore:
Timestamp:
Aug 8, 2013, 4:39:10 PM (11 years ago)
Author:
lpinner
Comment:

typo

Legend:

Unmodified
Added
Removed
Modified
  • PythonGotchas

    v12 v13  
    162162So if you want to [http://gis.stackexchange.com/questions/43404/how-to-detect-a-gdal-ogr-warning/68042 catch warnings as well as errors], something like this won't work:
    163163{{{
    164 ef error_handler(err_level, err_no, err_msg):
     164def error_handler(err_level, err_no, err_msg):
    165165
    166166    if err_class >= gdal.CE_Warning: