#NEWLINE# def view_badge( * args , **kwargs ) : #NEWLINE# #INDENT# badge = Badge . load ( kwargs . get ( 'bid' , None ) ) #NEWLINE# if badge : #NEWLINE# #INDENT# return { #NEWLINE# #INDENT# 'badge' : badge , #NEWLINE# 'assertions' : badge . assertions , #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# raise HTTPError ( http . NOT_FOUND )