Changes between Version 12 and Version 13 of PythonGotchas
- Timestamp:
- Aug 8, 2013, 4:39:10 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PythonGotchas
v12 v13 162 162 So 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: 163 163 {{{ 164 ef error_handler(err_level, err_no, err_msg):164 def error_handler(err_level, err_no, err_msg): 165 165 166 166 if err_class >= gdal.CE_Warning: