Commits

Gunnlaugur Þór Briem committed ec54db8

Import with statement for Python 2.5 compat

  • Participants
  • Parent commits b7a8750
  • Branches py25compat

Comments (0)

Files changed (2)

dogpile/cache/backends/file.py

 
 """
 
+from __future__ import with_statement
 from dogpile.cache.api import CacheBackend, NO_VALUE
 from contextlib import contextmanager
 from dogpile.cache import compat

dogpile/cache/region.py

+from __future__ import with_statement
 from dogpile.core import Dogpile, NeedRegenerationException
 from dogpile.core.nameregistry import NameRegistry