#23701: Removing an unwanted check in collectstatic
--------------------------------------+--------------------
     Reporter:  prathik               |      Owner:  nobody
         Type:  Cleanup/optimization  |     Status:  new
    Component:  contrib.staticfiles   |    Version:  1.7
     Severity:  Normal                |   Keywords:
 Triage Stage:  Unreviewed            |  Has patch:  1
Easy pickings:  0                     |      UI/UX:  0
--------------------------------------+--------------------
 The copy_file function in collectstatic.py seems to have a check in the
 end to see whether a prefixed_path is already in self.copied_files array
 but this check appears to be unnecessary as if it is in the code would
 return at the start with a message saying already copied.

 I am new to this, as far as I could get from the documentation I should
 create a ticket here and then post a pull request to django? Please advise
 if this is not the proces. Here is the pull request:
 https://github.com/django/django/pull/3408

 Also it is a very minor change.

--
Ticket URL: <https://code.djangoproject.com/ticket/23701>
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/050.6b5ff13efd26283a87e261aa6cd5447d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to