#36010: compilemessages reports errors only once
-------------------------------------+-------------------------------------
     Reporter:  Balazs Endresz       |                    Owner:
                                     |  amansharma612
         Type:  Bug                  |                   Status:  assigned
    Component:                       |                  Version:  dev
  Internationalization               |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by amansharma612):

 I don't think that the error is due to `msgfmt` updating the last modified
 date, as I found that to not be the case when reproducing the bug.

 The following is mentioned in the comments for
 
[https://github.com/django/django/blob/3ee4c6a27ad520d4ecc3cded260d47cbccafb144/django/core/management/commands/compilemessages.py#L20
 is_writable]

 {{{
     # Known side effect: updating file access/modified time to current
 time if
     # it is writable.
 }}}

 Checking `is_writable` on 'mo_path` modifies the date. Nonetheless, the
 suggested fix seems reasonable, or there could be a way to implement
 is_writable without modifying the date.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36010#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/01070193dd989370-94dd6ca4-5631-4cb4-be73-e96058a95699-000000%40eu-central-1.amazonses.com.

Reply via email to