Beispiel #1
0
    def close(self):
        """Emulate local method of same name"""

        if self.locking != LOCK_UN:
            self.unlock()
        self.__close_remote_file(self.path)

        # Again we need parent method to manipulate read-only attributes

        ServerFile.close(self)