view scripts/testconsole.py @ 498:62b9a4e21f1a

chickens in closed buildings deselected. building opens if you put in chickens and it's not full. opening building with move or select tool allows rearrangement of chickens in building. fixed multiselect in buildings.
author Adrianna Pińska <adrianna.pinska@gmail.com>
date Wed, 25 Nov 2009 23:51:33 +0000
parents f93e0c992f28
children
line wrap: on
line source

# TestConsole.py
# -*- coding: utf8 -*-
# vim:fileencoding=utf8 ai ts=4 sts=4 et sw=4
# Copyright 2009 Simon Cross <hodgestar@gmail.com>
# GPL - see COPYING for details

"""This module launches an interactive console.

   Its purpose is to provide an easy means to
   test the environment created by a py2exe build.
   """

if __name__ == "__main__":
    import code
    # pylint: disable-msg=C0103
    # pylint thinks this should be a constant
    console = code.InteractiveConsole()
    console.interact()