def main(): args = get_args() if args is not None: try: app = Application(args) app.start() except ApplicationError, e: print "airena: application error: %s" % e.message
from airena.app import Application if "__main__" == __name__: app = Application() app.start()