objectstore: remove unused method from Object
This function was used for the treesum calculations which is not done anymore. Remove it.
This commit is contained in:
parent
e0db89284d
commit
383e9320ae
1 changed files with 0 additions and 10 deletions
|
|
@ -187,16 +187,6 @@ class Object:
|
|||
if self._writer:
|
||||
raise ValueError("Write operation is ongoing")
|
||||
|
||||
@contextlib.contextmanager
|
||||
def _open(self):
|
||||
"""Open the directory and return the file descriptor"""
|
||||
with self.read() as path:
|
||||
fd = os.open(path, os.O_DIRECTORY)
|
||||
try:
|
||||
yield fd
|
||||
finally:
|
||||
os.close(fd)
|
||||
|
||||
def tempdir(self, suffix=None):
|
||||
workdir = self._workdir.name
|
||||
if suffix:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue