summaryrefslogtreecommitdiffstats
path: root/Demo/rpc/mountclient.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/rpc/mountclient.py')
-rw-r--r--Demo/rpc/mountclient.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/rpc/mountclient.py b/Demo/rpc/mountclient.py
index 3bb88b1..81797df 100644
--- a/Demo/rpc/mountclient.py
+++ b/Demo/rpc/mountclient.py
@@ -100,7 +100,7 @@ class PartialMountClient:
# This function is called to cough up a suitable
# authentication object for a call to procedure 'proc'.
def mkcred(self):
- if self.cred == None:
+ if self.cred is None:
self.cred = rpc.AUTH_UNIX, rpc.make_auth_unix_default()
return self.cred