def changeRememberedMaster(newPassword):
 global MasterPassword
 if (newPassword == u''):
  MasterPassword = None
 else:
  MasterPassword = pwEncode(newPassword)

def changeRememberedMaster ( newPassword ) : global MasterPassword if ( newPassword == u'' ) : MasterPassword = None else : MasterPassword = pwEncode ( newPassword )
module function to change the remembered master password .