diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-02-09 12:06:12 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-02-09 12:06:12 +0100 |
commit | db9f84e0b71db79080ac3405a2e46fc75c78eef4 (patch) | |
tree | 6452c8994ad1d7cdf633d08d7e1ce76ad05c8c2a | |
parent | 872fdd1495623b90054c420c84b2b3cb0be7c61f (diff) | |
download | gemato-db9f84e0b71db79080ac3405a2e46fc75c78eef4.tar.gz |
Restore allow_xdev default to false for bugfix release
-rw-r--r-- | gemato/find_top_level.py | 4 | ||||
-rw-r--r-- | gemato/recursiveloader.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gemato/find_top_level.py b/gemato/find_top_level.py index 69ae2eb..d432b0e 100644 --- a/gemato/find_top_level.py +++ b/gemato/find_top_level.py @@ -11,7 +11,7 @@ import gemato.compression import gemato.manifest -def find_top_level_manifest(path='.', allow_xdev=True, allow_compressed=False): +def find_top_level_manifest(path='.', allow_xdev=False, allow_compressed=False): """ Find top-level Manifest file that covers @path (defaults to the current directory). Returns the path to the Manifest @@ -20,7 +20,7 @@ def find_top_level_manifest(path='.', allow_xdev=True, allow_compressed=False): If @allow_xdev is true, the function passes filesystem boundaries. If it is false, it stops upon crossing the boundary and does not return a Manifest that is on a different filesystem than @path. - It defaults to true. + It defaults to false. If @allow_compressed is true, the function allows the top-level Manifest to be compressed and opens all compressed files *without* diff --git a/gemato/recursiveloader.py b/gemato/recursiveloader.py index 15d78d7..2cd1633 100644 --- a/gemato/recursiveloader.py +++ b/gemato/recursiveloader.py @@ -181,7 +181,7 @@ class ManifestRecursiveLoader(object): hashes=None, allow_create=False, sort=None, compress_watermark=None, compress_format=None, profile=gemato.profile.DefaultProfile(), - max_jobs=None, allow_xdev=True): + max_jobs=None, allow_xdev=False): """ Instantiate the loader for a Manifest tree starting at top-level Manifest @top_manifest_path. @@ -231,7 +231,7 @@ class ManifestRecursiveLoader(object): If @allow_xdev is true, Manifest can contain files located across different filesystem. If it is false, gemato will raise an exception upon crossing filesystem boundaries. It defaults - to true. + to false. """ self.root_directory = os.path.dirname(top_manifest_path) |