summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/collaboration/examples/download_everything.py2
-rw-r--r--python/collaboration/examples/multitool.py2
2 files changed, 2 insertions, 2 deletions
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})")