code duplication in django.utils.cache
|Reported by:||Owned by:||nobody|
|Component:||Core (Cache system)||Version:||master|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Completely trivial commit, but while exploring the caching mechanisms of Django, I noticed some code duplication. The patch (attached) is viewable on Gist as well.