Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions OMPython/OMCSession.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,13 +407,6 @@ def size(self) -> int:

raise OMCSessionException(f"Error reading file size for path {self.as_posix()}!")

def stat(self):
"""
The function stat() cannot be implemented using OMC.
"""
raise NotImplementedError("The function stat() cannot be implemented using OMC; "
"use size() to get the file size.")


if sys.version_info < (3, 12):

Expand Down