sendgrid / python-http-client

Twilio SendGrid's Python HTTP Client for calling APIs
https://sendgrid.com
MIT License
126 stars 101 forks source link

fix unclosed version file warning #130

Closed demianbrecht closed 4 years ago

demianbrecht commented 5 years ago

Fixes

Checklist

Short description of what this PR does:

Tiny fix that removes the following unclosed file warning:

python -Wd -m unittest discover -v
/src/spython-http-client/python_http_client/__init__.py:22: ResourceWarning: unclosed file <_io.TextIOWrapper name='/src/python-http-client/python_http_client/VERSION.txt' mode='r' encoding='UTF-8'>
  __version__ = open(os.path.join(dir_path, 'VERSION.txt')).read().strip()

If you have questions, please send an email to the Twilio SendGrid Developer Experience Team, or file a GitHub Issue in this repository.

SendGridDX commented 5 years ago

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

childish-sambino commented 4 years ago

Duplicates #128