battlenet icon indicating copy to clipboard operation
battlenet copied to clipboard

Changes needed in things.py to support Python 2.5

Open paca-project opened this issue 14 years ago • 1 comments

"namedtuple" is a Python 2.6 feature not present in 2.5. The Google App Engine environment requires Python 2.5.

File "test/battlenet/things.py", line 529, in init Tree = collections.namedtuple('Tree', ('points', 'total',)) AttributeError: 'module' object has no attribute 'namedtuple'

If you could use something other than namedtuple that would be great! :)

paca-project avatar Jul 24 '11 22:07 paca-project

I will see what I can do =)

vishnevskiy avatar Jul 25 '11 18:07 vishnevskiy