#30523: StatReloader does not update file times if notify_file_changed() is
triggered.
---------------------------------+--------------------------------------
     Reporter:  Tom Forbes       |                    Owner:  Tom Forbes
         Type:  Bug              |                   Status:  closed
    Component:  Utilities        |                  Version:  2.2
     Severity:  Release blocker  |               Resolution:  fixed
     Keywords:                   |             Triage Stage:  Accepted
    Has patch:  1                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+--------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

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


Comment:

 In [changeset:"480492fe70b0bb7df61c00854dc8535c9d21ba64" 480492fe]:
 {{{
 #!CommitTicketReference repository=""
 revision="480492fe70b0bb7df61c00854dc8535c9d21ba64"
 Fixed #30523 -- Fixed updating file modification times on seen files in
 auto-reloader when using StatReloader.

 Previously we updated the file mtimes if the file has not been seen
 before - i.e on the first iteration of the loop.

 If the mtime has been changed we triggered the notify_file_changed()
 method which in all cases except the translations will result in the
 process being terminated. To be strictly correct we need to update the
 mtime for either branch of the conditional.

 Regression in 6754bffa2b2df15a741008aa611c1bb0e8dff22b.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30523#comment:4>
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/061.f4b93269d31a0e8381d87dd021bd1355%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to