We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b4b6f0 commit 99c597bCopy full SHA for 99c597b
examples/merge_buckets.py
@@ -17,7 +17,11 @@ def main():
17
aw = aw_client.ActivityWatchClient(testing=True)
18
19
buckets = aw.get_buckets()
20
- print(f"Buckets: {buckets.keys()}")
+ print("Available bucket IDs:")
21
+ print()
22
+ for id in buckets.keys():
23
+ print(id)
24
25
26
src_id = input("Source bucket ID: ")
27
dest_id = input("Destination bucket ID: ")
@@ -53,7 +57,7 @@ def main():
53
57
54
58
print("Operation complete")
55
59
if input("Do you want to delete the source bucket? (y/n): ") == "y":
56
- aw.delete_bucket(src_id)
60
+ aw.delete_bucket(src_id, force=True)
61
print("Bucket deleted")
62
63
print("Exiting")
0 commit comments