Skip to content

Commit 3d5f4d6

Browse files
committed
Remove unused context variable.
1 parent 375d1ee commit 3d5f4d6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cget/util.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,6 @@ def hook(count, block_size, total_size):
221221
# Hack because we can't set the position
222222
bar.pos = percent
223223
bar.update(0)
224-
context = None
225-
if insecure: context = ssl._create_unverified_context()
226224
try:
227225
request.urlretrieve(url, filename=file, reporthook=hook, data=None)
228226
except error.HTTPError as e:

0 commit comments

Comments
 (0)