Ticket #11260: patch.2.diff

File patch.2.diff, 478 bytes (added by josh, 15 years ago)

Opps, made a mistake with the first patch.

  • django/core/cache/backends/filebased.py

     
    104104            return False
    105105
    106106    def _cull(self):
    107         if int(self._num_entries) < self._max_entries:
     107        if not self._max_entries or int(self._num_entries) < self._max_entries:
    108108            return
    109109
    110110        try:
Back to Top