#NEWLINE# def auth_user_options_get_osm( pe_id ) : #NEWLINE# #INDENT# '\n        Gets the OSM-related options for a pe_id\n    ' #NEWLINE# db = current . db #NEWLINE# table = current . s3db . auth_user_options #NEWLINE# query = ( table . pe_id == pe_id ) #NEWLINE# record = db ( query ) . select ( limitby = ( 0 , 1 ) ) . first ( ) #NEWLINE# if record : #NEWLINE# #INDENT# return ( record . osm_oauth_consumer_key , record . osm_oauth_consumer_secret ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return None