From a8f61425f39fba9b578ba72756db22f2fae0f246 Mon Sep 17 00:00:00 2001 From: syntron Date: Sun, 18 Jan 2026 20:43:02 +0100 Subject: [PATCH] [OMCPathReal] remove dummy function stat() --- OMPython/OMCSession.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/OMPython/OMCSession.py b/OMPython/OMCSession.py index 6b5b2b3d..06005462 100644 --- a/OMPython/OMCSession.py +++ b/OMPython/OMCSession.py @@ -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):