#NEWLINE# def poll( self ) : #NEWLINE# #INDENT# info = self . _get_info ( ) #NEWLINE# if ( info is False ) : #NEWLINE# #INDENT# return 'Error' #NEWLINE# #UNINDENT# percent = ( info [ 'brightness' ] / info [ 'max' ] ) #NEWLINE# return FORMAT . format ( percent = percent )