#NEWLINE# def sign( self , url , expire_time = 0 ) : #NEWLINE# #INDENT# path = os . path . join ( self . base , url ) #NEWLINE# if expire_time : #NEWLINE# #INDENT# expire_time = ( time . time ( ) + expire_time ) #NEWLINE# #UNINDENT# return self . dist . create_signed_url ( path , self . keyid , private_key_string = self . privatekey , expire_time = int ( expire_time ) )