From db9f84e0b71db79080ac3405a2e46fc75c78eef4 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 9 Feb 2018 12:06:12 +0100 Subject: Restore allow_xdev default to false for bugfix release --- gemato/find_top_level.py | 4 ++-- 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) -- cgit v1.2.3