def add(self, user, password):
if user in self.users:
raise UserAlreadyExistsError(user)
self.users[user] = crypt.crypt(password,'BA')
def add(self, user, password):
if user in self.users:
raise UserAlreadyExistsError(user)
self.users[user] = crypt.crypt(password,'BA')