Mercurial > rinkhals
comparison gamelib/buildings.py @ 231:857040b211d5
Note why we're disabling a warning.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Fri, 04 Sep 2009 23:59:28 +0000 |
parents | c279ad59b8e2 |
children | 47c411d20b00 |
comparison
equal
deleted
inserted
replaced
230:fa0e818c3fee | 231:857040b211d5 |
---|---|
7 | 7 |
8 import imagecache | 8 import imagecache |
9 import tiles | 9 import tiles |
10 import constants | 10 import constants |
11 | 11 |
12 # ignore os.popen3 warning generated by pygame.font.SysFont | |
12 import warnings | 13 import warnings |
13 warnings.filterwarnings("ignore", "os.popen3 is deprecated.") | 14 warnings.filterwarnings("ignore", "os.popen3 is deprecated.") |
14 | 15 |
15 class Place(object): | 16 class Place(object): |
16 """Space within a building that can be occupied.""" | 17 """Space within a building that can be occupied.""" |