def rmdir(self): log.Log("Removing directory " + self.path, 6) self.conn.os.rmdir(self.path) self.data = {'type': None}