Skip to content

Commit

Permalink
Update linearize-hashes.py
Browse files Browse the repository at this point in the history
Fix class case issue.
  • Loading branch information
OverlordQ authored Feb 6, 2019
1 parent 5029e94 commit 7fdb92e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/linearize/linearize-hashes.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
#

from http.client import HttpConnection
from http.client import HTTPConnection
import json
import re
import base64
Expand All @@ -27,7 +27,7 @@ def __init__(self, host, port, username, password):
authpair = "%s:%s" % (username, password)
authpair = authpair.encode('utf-8')
self.authhdr = b"Basic " + base64.b64encode(authpair)
self.conn = HttpConnection(host, port=port, timeout=30)
self.conn = HTTPConnection(host, port=port, timeout=30)

def execute(self, obj):
try:
Expand Down

0 comments on commit 7fdb92e

Please sign in to comment.