#28569: Broken error handling when fetching GDAL datasource layer by string.
-------------------------------------+-------------------------------------
     Reporter:  Nick Pope            |                    Owner:  Nick Pope
         Type:  Bug                  |                   Status:  closed
    Component:  GIS                  |                  Version:  master
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  gdal datasource      |             Triage Stage:
  layer indexerror                   |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"0d9e1163e897d8e43a3e018938a58131efcbc135" 0d9e1163]:
 {{{
 #!CommitTicketReference repository=""
 revision="0d9e1163e897d8e43a3e018938a58131efcbc135"
 Fixed #28569 -- Corrected get_layer_by_name prototype to skip error
 checking.

 All other get_*_by_name functions have errcheck=False. This makes it
 return None for an invalid name instead of raising a GDALException.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28569#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.4658197041bebd036c6845fe8f9826eb%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to