#36763: Replace if-None checks with ternary operator in 
TemplateDoesNotExist.init
-------------------------------------+-------------------------------------
     Reporter:  Pravin               |                    Owner:  Pravin
         Type:                       |                   Status:  closed
  Cleanup/optimization               |
    Component:  Template system      |                  Version:  5.2
     Severity:  Normal               |               Resolution:  invalid
     Keywords:                       |             Triage Stage:
  TemplateDoesNotExist               |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

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

Comment:

 There is nothing wrong with this code, and as I said (multiple times) we
 try to avoid unnecessary (and this is completely unnecessary) and trivial
 code reformatting unless it's a big problem as it creates extra noise in
 the history.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36763#comment:3>
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 view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019addf94b6a-a6b1cb6c-2b9f-4b7b-a45a-a02faf98b8c7-000000%40eu-central-1.amazonses.com.

Reply via email to