#NEWLINE# def get_project( self , silent = False ) : #NEWLINE# #INDENT# if ( self . _project is not None ) : #NEWLINE# #INDENT# return self . _project #NEWLINE# #UNINDENT# if ( self . _project_path is not None ) : #NEWLINE# #INDENT# rv = Project . from_path ( self . _project_path ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# rv = Project . discover ( ) #NEWLINE# #UNINDENT# if ( rv is None ) : #NEWLINE# #INDENT# if silent : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# raise click . UsageError ( 'Could not find project' ) #NEWLINE# #UNINDENT# self . _project = rv #NEWLINE# return rv