vishnevskiy / battlenet

Python Library for Blizzard's Community Platform API
http://guildwork.com
MIT License
61 stars 27 forks source link

Changes needed in things.py to support Python 2.5 #12

Open paca-project opened 13 years ago

paca-project commented 13 years ago

"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! :)

vishnevskiy commented 13 years ago

I will see what I can do =)