Skip to content
Snippets Groups Projects
Unverified Commit e1e02585 authored by Ben Holt's avatar Ben Holt Committed by GitHub
Browse files

Print experiment in output so incorrect usage like passing just a username...

Print experiment in output so incorrect usage like passing just a username instead of experiment name is easier to recognize (#23043)
parent 08269e83
No related branches found
Tags release-2020-09-15-10.00
No related merge requests found
......@@ -65,7 +65,13 @@ def main(args, env):
if abbrev is None:
abbrev = abbreviate(my_args.exp)
print("{user} is in bucket: {bucket}".format(user=my_args.user, bucket=bucket))
print(
"For experiment {exp}, {user} is in bucket: {bucket}".format(
exp=my_args.exp,
user=my_args.user,
bucket=bucket,
)
)
if my_args.print_args:
print("* Args:\n\t{my_args}\n* Computed:\n\tdigest: {digest} - hash: {hashed} - {abbrev}".format(**vars()))
return 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment