#NEWLINE# def build_path_base( self , bucket , key = '' ) : #NEWLINE# #INDENT# key = boto . utils . get_utf8_value ( key ) #NEWLINE# path_base = '/' #NEWLINE# if bucket : #NEWLINE# #INDENT# path_base += ( '%s/' % bucket ) #NEWLINE# #UNINDENT# return ( path_base + urllib . quote ( key ) )