Skip to content

Commit c2bb51a

Browse files
author
rchevrier
committed
fix compatibility for RemoteDirNode
1 parent 2650c6e commit c2bb51a

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/fcollections/core/_listing.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,6 @@ def children(self) -> tp.Iterator[INode]:
264264
The child nodes, either files or folders
265265
"""
266266

267-
@abc.abstractmethod
268267
def clear(self):
269268
"""Clear child nodes."""
270269

@@ -285,9 +284,6 @@ def children(self) -> tp.Iterator[INode]:
285284
"""
286285
return []
287286

288-
def clear(self):
289-
pass
290-
291287

292288
class DirNode(INode):
293289
"""Directory node of a file system tree.

0 commit comments

Comments
 (0)