Commit e08eccba authored by Virgil Grigoras's avatar Virgil Grigoras

Satisfy "Codacy/PR Quality Review"

parent 50ded1af
......@@ -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
......
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from builtins import OSError
try:
from googleapiclient.errors import HttpError
except ImportError:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment