Commits

Mikhail Korobov committed f44a1f5

Python 2.5 compatibility fix

  • Participants
  • Parent commits e737e60

Comments (0)

Files changed (2)

File cache_utils/utils.py

     'cls' and 'self' removed from normalized_args '''
 
     func_type = _func_type(func)
-    lineno = ":%s" % func.__code__.co_firstlineno
+    lineno = ":%s" % func.func_code.co_firstlineno
 
     if func_type == 'function':
         name = ".".join([func.__module__, func.__name__]) + lineno
 #!/usr/bin/env python
 from distutils.core import setup
 
-version='0.7.0'
+version='0.7.1'
 
 setup(
     name='django-cache-utils',