#NEWLINE# def _RejectProposal( self , p , filename ) : #NEWLINE# #INDENT# if ( not self . IsAdminUser ( ) ) : #NEWLINE# #INDENT# self . redirect ( ( '/admin/package/%s?msg=Only admins can reject proposals' % filename ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# p . proposal . RejectProposal ( ) #NEWLINE# self . redirect ( ( '/admin/package/%s?msg=Changes rejected for %s' % ( filename , filename ) ) )