summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-12-16 18:36:46 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-12-26 14:54:05 -0500
commit4ffe03c6007b31a9492a73d20ab7f9e38c4857da (patch)
tree44e1ce627ee523721cd36e1595b34a51791bb617
parent36295282f3e32994a82d42ba6f2ad01761727000 (diff)
downloadbuildstream-4ffe03c6007b31a9492a73d20ab7f9e38c4857da.tar.gz
buildstream/storage/_casbaseddirectory.py: Fixing new (unnecessary-pass) linter errors
-rw-r--r--buildstream/storage/_casbaseddirectory.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/buildstream/storage/_casbaseddirectory.py b/buildstream/storage/_casbaseddirectory.py
index c8a068d21..d88222273 100644
--- a/buildstream/storage/_casbaseddirectory.py
+++ b/buildstream/storage/_casbaseddirectory.py
@@ -53,12 +53,10 @@ class IndexEntry():
class ResolutionException(VirtualDirectoryError):
""" Superclass of all exceptions that can be raised by
CasBasedDirectory._resolve. Should not be used outside this module. """
- pass
class InfiniteSymlinkException(ResolutionException):
""" Raised when an infinite symlink loop is found. """
- pass
class AbsoluteSymlinkException(ResolutionException):
@@ -66,7 +64,6 @@ class AbsoluteSymlinkException(ResolutionException):
target starts with the path separator) and we have disallowed
following such symlinks.
"""
- pass
class UnexpectedFileException(ResolutionException):
@@ -664,13 +661,11 @@ class CasBasedDirectory(Directory):
""" Sets a static modification time for all regular files in this directory.
Since we don't store any modification time, we don't need to do anything.
"""
- pass
def set_deterministic_user(self):
""" Sets all files in this directory to the current user's euid/egid.
We also don't store user data, so this can be ignored.
"""
- pass
def export_files(self, to_directory, *, can_link=False, can_destroy=False):
"""Copies everything from this into to_directory, which must be the name