#NEWLINE# def _clean_zip_name( self , name , prefix ) : #NEWLINE# #INDENT# assert name . startswith ( ( prefix + os . path . sep ) ) , ( "name %r doesn't start with prefix %r" % ( name , prefix ) ) #NEWLINE# name = name [ ( len ( prefix ) + 1 ) : ] #NEWLINE# name = name . replace ( os . path . sep , '/' ) #NEWLINE# return name