#NEWLINE# def normalize_config_start_offset( self , config , query_config ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# start_offset = query_config . get ( OPTION_NAME_MAP [ 'start_offset' ] , 0 ) #NEWLINE# start_offset = int ( start_offset ) #NEWLINE# #UNINDENT# except ValueError : #NEWLINE# #INDENT# start_offset = 0 #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( start_offset < 0 ) : #NEWLINE# #INDENT# start_offset = 0 #NEWLINE# #UNINDENT# #UNINDENT# return start_offset