Skip to content

Commit

Permalink
Add return value of 0 so that upload code checks work as they were wr…
Browse files Browse the repository at this point in the history
…itten. Python by default returns None type instead of 0. (dotnet#2398)
  • Loading branch information
LoopedBard3 authored Apr 27, 2022
1 parent ce2ae0e commit 1d2e14c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def upload(globpath, container, queue, sas_token_env, storage_account_uri):
queue_client.send_message(blob_client.url)

getLogger().info("upload complete")
return 0

except Exception as ex:
getLogger().error('{0}: {1}'.format(type(ex), str(ex)))
Expand Down

0 comments on commit 1d2e14c

Please sign in to comment.