createTasks.py
def format_error(module, error):
        """Format the error for the given module"""
        logging.error(module)
        # Beautify JSON error
        if type(error) == list:
            print "Application not found"
        else:
            print json.dumps(error, sort_keys=True, indent=4, separators=(',', ': '))
        exit(1)
Format the error for the given module
Format the error for the given module
Format the error for the given module
def format_error(module, error):
        logging.error(module)
        if type(error) == list:
            print "Application not found"
        else:
            print json.dumps(error, sort_keys=True, indent=4, separators=(',', ': '))
        exit(1)
def format_error ( module , error ) : logging . error ( module ) if type ( error ) == list : print "Application not found" else : print json . dumps ( error , sort_keys = True , indent = 4 , separators = ( ',' , ': ' ) ) exit ( 1 )
Format the error for the given module
Format the error for the given module
"""Format the error for the given module""" # Beautify JSON error
module
error