#NEWLINE# def _check_aur_updates( self ) : #NEWLINE# #INDENT# "\n        This method will use the 'cower' command line utility\n        to determine how many updates are waiting to be installed\n        from the AUR.\n        " #NEWLINE# pending_updates = b'' #NEWLINE# try : #NEWLINE# #INDENT# pending_updates = str ( subprocess . check_output ( [ 'cower' , '-bu' ] ) ) #NEWLINE# #UNINDENT# except subprocess . CalledProcessError as cp_error : #NEWLINE# #INDENT# pending_updates = pending_updates . output #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# pending_updates = '?' #NEWLINE# #UNINDENT# return str ( pending_updates ) . count ( self . _line_separator )