diff options
| author | Aymeric Augustin | 2013-10-16 23:03:07 +0200 | 
|---|---|---|
| committer | Aymeric Augustin | 2013-10-17 18:24:58 +0200 | 
| commit | 23c44d8c5cf560cc8cb304d8753e8b658d1fe70d (patch) | |
| tree | 575ad8a220c70a8f00a3d6fdab49f29d062d10be /debug_toolbar/panels/cache.py | |
| parent | c22528df06e821936590431db5ba1a424e16f6a0 (diff) | |
| download | django-debug-toolbar-23c44d8c5cf560cc8cb304d8753e8b658d1fe70d.tar.bz2 | |
Enable unicode_literals in all non-empty modules.
Diffstat (limited to 'debug_toolbar/panels/cache.py')
| -rw-r--r-- | debug_toolbar/panels/cache.py | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/debug_toolbar/panels/cache.py b/debug_toolbar/panels/cache.py index 852327d..80a3b46 100644 --- a/debug_toolbar/panels/cache.py +++ b/debug_toolbar/panels/cache.py @@ -1,3 +1,5 @@ +from __future__ import unicode_literals +  import inspect  import sys  import time @@ -59,7 +61,7 @@ class CacheStatTracker(BaseCache):          self.cache = cache      def __repr__(self): -        return u"<CacheStatTracker for %s>" % self.cache.__repr__() +        return str("<CacheStatTracker for %s>") % repr(self.cache)      def _get_func_info(self):          frame = sys._getframe(3) | 
