Fix spelling of Umnt.

This commit is contained in:
Guido van Rossum 1992-12-15 21:44:13 +00:00
parent 38625352bb
commit 63ae96e3d7
1 changed files with 2 additions and 2 deletions

View File

@ -79,11 +79,11 @@ class PartialMountClient:
# This function is called to gobble up a suitable # This function is called to gobble up a suitable
# authentication object for a call to procedure 'proc'. # authentication object for a call to procedure 'proc'.
# (Experiments suggest that for Mnt/Unmnt, Unix authentication # (Experiments suggest that for Mnt/Umnt, Unix authentication
# is necessary, while the other calls require no # is necessary, while the other calls require no
# authentication.) # authentication.)
def mkcred(self, proc): def mkcred(self, proc):
if proc not in (1, 3, 4): # not Mnt/Unmnt/Unmntall if proc not in (1, 3, 4): # not Mnt/Umnt/Umntall
return rpc.AUTH_NULL, '' return rpc.AUTH_NULL, ''
if self.cred == None: if self.cred == None:
self.cred = rpc.AUTH_UNIX, rpc.make_auth_unix_default() self.cred = rpc.AUTH_UNIX, rpc.make_auth_unix_default()