Commit b06d9d84 authored by Vitja Makarov's avatar Vitja Makarov

__defaults__ py2.5 test fix

parent eaae9bab
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
import sys import sys
def get_defaults(func): def get_defaults(func):
if sys.version_info >= (2, 5, 0): if sys.version_info >= (2, 6, 0):
return func.__defaults__ return func.__defaults__
return func.func_defaults return func.func_defaults
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment