#NEWLINE# def __init__( self , resource_type , resource_name = None ) : #NEWLINE# #INDENT# if resource_name : #NEWLINE# #INDENT# message = 'Unknown {0}: {1}' . format ( message , resource_name ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# message = 'Unknown {0}' . format ( resource_type ) #NEWLINE# #UNINDENT# super ( SWFUnknownResourceFault , self ) . __init__ ( 'com.amazonaws.swf.base.model#UnknownResourceFault' , message )