Fix error in google log storage

The google auth library has added some additional arguments to the
Credentials constructor and our subclass is now failing.  Pass
any additional arguments through to the superclass.

Change-Id: Idcab7e44af9ab7d55f8b96be9ae0222717c2f987
This commit is contained in:
James E. Blair 2020-11-12 06:55:42 -08:00
parent 60af1a7655
commit 573ac0a9be

View File

@ -62,8 +62,8 @@ MAX_UPLOAD_THREADS = 24
class Credentials(gce_cred.Credentials):
def __init__(self, path):
super(Credentials, self).__init__()
def __init__(self, path, *args, **kw):
super(Credentials, self).__init__(*args, **kw)
self._path = path
self.refresh(None)