Skip to content

Commit 09160fd

Browse files
committed
python-ecosys/requests/requests: Fix spelling mistake in code.
While this is a minor code change I did bump the version. Signed-off-by: Jos Verlinde <[email protected]>
1 parent 6ca07a4 commit 09160fd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

python-ecosys/requests/manifest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
metadata(version="0.10.2", pypi="requests")
1+
metadata(version="0.10.3", pypi="requests")
22

33
package("requests")

python-ecosys/requests/requests/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ def request(
5656
import binascii
5757

5858
username, password = auth
59-
formated = b"{}:{}".format(username, password)
60-
formated = str(binascii.b2a_base64(formated)[:-1], "ascii")
61-
headers["Authorization"] = "Basic {}".format(formated)
59+
formatted = b"{}:{}".format(username, password)
60+
formatted = str(binascii.b2a_base64(formatted)[:-1], "ascii")
61+
headers["Authorization"] = "Basic {}".format(formatted)
6262

6363
try:
6464
proto, dummy, host, path = url.split("/", 3)

0 commit comments

Comments
 (0)