#NEWLINE# def _samefile( src , dst ) : #NEWLINE# #INDENT# if hasattr ( os . path , 'samefile' ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return os . path . samefile ( src , dst ) #NEWLINE# #UNINDENT# except OSError : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# #UNINDENT# return ( os . path . normcase ( os . path . abspath ( src ) ) == os . path . normcase ( os . path . abspath ( dst ) ) )