Fix list commit for __dir__

This commit is contained in:
Eric Torres 2019-04-22 21:23:39 -07:00
parent 7506d1488e
commit b00ea0b2e2
3 changed files with 0 additions and 20 deletions

View File

@ -67,11 +67,7 @@ class Hierarchy(PathLike):
return str(self._path)
def __dir__(self):
<<<<<<< HEAD
return [
=======
return (
>>>>>>> 2aff6704bc8f14d9a3f73178c4c1709bfc7812b5
"__dir__",
"__eq__",
"__fspath__",
@ -85,11 +81,7 @@ class Hierarchy(PathLike):
"cleanup",
"read_metadata",
"write_metadata",
<<<<<<< HEAD
]
=======
)
>>>>>>> 2aff6704bc8f14d9a3f73178c4c1709bfc7812b5
def _gen_metadata(self):
"""Generate metadata for this repository.

View File

@ -144,11 +144,7 @@ class Repository(Hierarchy):
return next(self._snapshot_iterator)
def __dir__(self):
<<<<<<< HEAD
return [
=======
return (
>>>>>>> 2aff6704bc8f14d9a3f73178c4c1709bfc7812b5
super().__dir__(),
"__contains__",
"__delitem__",
@ -164,11 +160,7 @@ class Repository(Hierarchy):
"cleanup",
"create_snapshot",
"symlink_snapshot",
<<<<<<< HEAD
]
=======
)
>>>>>>> 2aff6704bc8f14d9a3f73178c4c1709bfc7812b5
@staticmethod
def is_valid_snapshot_name(name):

View File

@ -32,11 +32,7 @@ class Snapshot(Hierarchy):
self._pkg_dir = self.path / "pkg"
def __dir__(self):
<<<<<<< HEAD
return [super().__dir__(), "ctime", "pkg_dir"]
=======
return super().__dir__(), "ctime", "pkg_dir"
>>>>>>> 2aff6704bc8f14d9a3f73178c4c1709bfc7812b5
def __repr__(self):
"""Return a string representation of this Snapshot."""