(self)
return not same
for from_file, should we write the file?
for from_file, should we write the file?
for from_file should we write the file?
def should_replace_using_file(self):
        """ for from_file, should we write the file? """
        if not FileTests.exists(self.name):
            return True
        if not self.overwrite:
            return False
        remote = False
        if Context().caller():
            remote = True
        same = FileTests.same_contents(self.name, self.from_file, remote=remote)
        return not same
def should_replace_using_file ( self ) : if not FileTests . exists ( self . name ) : return True if not self . overwrite : return False remote = False if Context ( ) . caller ( ) : remote = True same = FileTests . same_contents ( self . name , self . from_file , remote = remote ) return not same