#NEWLINE# def init( ) : #NEWLINE# #INDENT# ' Init the application and add routes ' #NEWLINE# logging . basicConfig ( format = '%(asctime)s: [%(levelname)s]: %(message)s' , level = logging . DEBUG ) #NEWLINE# global theconfig #NEWLINE# theconfig = get_config ( ) #NEWLINE# global rc #NEWLINE# rc = init_redis ( theconfig ) #NEWLINE# app = default_app ( ) #NEWLINE# return app