From 2623732719499315844444663243176709658784 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Tue, 16 Jul 2024 13:10:16 -0400 Subject: Update api usage in the other collaboration examples --- python/collaboration/examples/download_everything.py | 2 +- python/collaboration/examples/multitool.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'python') diff --git a/python/collaboration/examples/download_everything.py b/python/collaboration/examples/download_everything.py index a3f908aa..8740fca3 100644 --- a/python/collaboration/examples/download_everything.py +++ b/python/collaboration/examples/download_everything.py @@ -40,7 +40,7 @@ def main(): # Pull every file from every project for project in remote.projects: for file in project.files: - bndb_path = file.default_bndb_path + bndb_path = file.default_path print(f"{project.name}/{file.name} BNDB at {bndb_path}") try: diff --git a/python/collaboration/examples/multitool.py b/python/collaboration/examples/multitool.py index e2ea3360..f5b9ea22 100644 --- a/python/collaboration/examples/multitool.py +++ b/python/collaboration/examples/multitool.py @@ -80,7 +80,7 @@ def print_file_info(file: RemoteFile, extended=False): f"Last snapshot date: {file.last_snapshot}\n" f"Contents hash: {file.hash}\n" f"Contents size: {file.size}\n" - f"Default path on disk: {file.default_bndb_path}\n" + f"Default path on disk: {file.default_path}\n" f"Snapshot count: {len(file.snapshots)}") else: print(f"{file.remote.name}/{file.project.name}/{file.name} @ {file.url} (id: {file.id})") -- cgit v1.3.1