Skip to content

Commit

Permalink
overlayfs: dont directly call staticmethod in class body (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
ap-- authored Jul 8, 2024
1 parent 877a197 commit a78d1b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/morefs/overlay.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ def inner(self, path, *args, **kwargs):
def _raise_readonly(path, *args, **kwargs):
raise OSError(errno.EROFS, os.strerror(errno.EROFS), path)

info = _iterate_fs_with("info") # pylint: disable=no-value-for-parameter
created = _iterate_fs_with("created") # pylint: disable=no-value-for-parameter
modified = _iterate_fs_with("modified") # pylint: disable=no-value-for-parameter
info = _iterate_fs_with.__get__(object)("info")
created = _iterate_fs_with.__get__(object)("created")
modified = _iterate_fs_with.__get__(object)("modified")

def mkdir(self, path, create_parents=True, **kwargs):
# if create_parents is False:
Expand Down

0 comments on commit a78d1b1

Please sign in to comment.