Satisfy "Codacy/PR Quality Review"

pull/618/head
Virgil Grigoras 6 years ago
parent 50ded1afc1
commit e08eccba5a

@ -552,7 +552,7 @@ def is_sha1(sha1):
if len(sha1) != 40:
return False
try:
temp = int(sha1, 16)
int(sha1, 16)
except ValueError:
return False
return True

@ -1,7 +1,5 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from builtins import OSError
try:
from googleapiclient.errors import HttpError
except ImportError:

Loading…
Cancel
Save