#NEWLINE# def _process_args( self , largs , rargs , values ) : #NEWLINE# #INDENT# '\n        Override process_args in OptionParser to avoid returning when arg cannot be processed\n        ' #NEWLINE# while rargs : #NEWLINE# #INDENT# arg = rargs [ 0 ] #NEWLINE# try : #NEWLINE# #INDENT# if ( ( arg [ 0 : 2 ] == '--' ) and ( len ( arg ) > 2 ) ) : #NEWLINE# #INDENT# self . _process_long_opt ( rargs , values ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( ( arg [ : 1 ] == '-' ) and ( len ( arg ) > 1 ) ) : #NEWLINE# #INDENT# self . _process_short_opts ( rargs , values ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# del rargs [ 0 ] #NEWLINE# raise Exception #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# except Exception as e : #NEWLINE# #INDENT# largs . append ( arg )