Boto3 SQS Extended Client Library for Python. An extension to the boto3 sqs client that enables sending and receiving messages up to 2GB via Amazon S3. [WARNING: This library is still under development contributors welcome]
Apache License 2.0
27
stars
23
forks
source link
FIX: local variable referenced before assignment #17
This commit fixes a probable typo error on the function call that sends data to SQS when the message IS NOT large. This happens when we fall on the else condition and the code tries to use a variable that was not assigned. The right variable should be "message", instead of "s3_key_message".
Please, feel free to edit or correct anything, as this is my first pull request.
Fixes # (issue)
PR type
[ ] Feature
[ ] TechDebt
[X] Bugfix
[ ] Other
Changelog updated
[ ] Yes
[X] No
Breaking changes
[ ] Yes
[X] No
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.
[ ] Test A
[ ] Test B
Checklist:
[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[ ] Any dependent changes have been merged and published in downstream modules
Description
This commit fixes a probable typo error on the function call that sends data to SQS when the message IS NOT large. This happens when we fall on the else condition and the code tries to use a variable that was not assigned. The right variable should be "message", instead of "s3_key_message".
Please, feel free to edit or correct anything, as this is my first pull request.
Fixes # (issue)
PR type
Changelog updated
Breaking changes
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.
Checklist: