comparison skaapsteker/gamestate.py @ 612:a91b2e4400a5

Fallback to using simplejson if json does not exist (this appears to be all that is needed to add Python2.5 compatibility).
author Simon Cross <hodgestar@gmail.com>
date Mon, 11 Apr 2011 23:54:56 +0200
parents aa01ca54dce2
children 0675f390653c
comparison
equal deleted inserted replaced
611:7d49f698eff7 612:a91b2e4400a5
1 try:
2 import json
3 except:
4 import simplejson as json
5
1 import os 6 import os
2 import json
3 7
4 from . import data 8 from . import data
5 from . import options 9 from . import options
6 from .sprites.base import find_sprite 10 from .sprites.base import find_sprite
7 11