1. youngking
  2. dogpile.cache

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)

File dogpile/cache/backends/file.py

View file
  • Ignore whitespace
 
 """
 
+from __future__ import with_statement
 from dogpile.cache.api import CacheBackend, NO_VALUE
 from contextlib import contextmanager
 from dogpile.cache import compat

File dogpile/cache/region.py

View file
  • Ignore whitespace
+from __future__ import with_statement
 from dogpile.core import Dogpile, NeedRegenerationException
 from dogpile.core.nameregistry import NameRegistry