mirror of https://github.com/python/cpython
Changed mkcred interface
This commit is contained in:
parent
fd92ac89cc
commit
b99457c35c
|
@ -128,7 +128,7 @@ class NFSClient(UDPClient):
|
|||
self.packer = NFSPacker().init()
|
||||
self.unpacker = NFSUnpacker().init('')
|
||||
|
||||
def mkcred(self, proc):
|
||||
def mkcred(self):
|
||||
if self.cred == None:
|
||||
self.cred = rpc.AUTH_UNIX, rpc.make_auth_unix_default()
|
||||
return self.cred
|
||||
|
|
Loading…
Reference in New Issue