Commit 8fa6beda authored by Christian Robottom's avatar Christian Robottom

Better wording for exception in database handling

parent 179cc21b
......@@ -108,7 +108,7 @@ class Database:
def add_user(self, username, password):
if self._users.has_key(username):
raise LookupError, "User %s does already exist" % username
raise LookupError, "User %s already exists" % username
self._store_password(username, password)
def del_user(self, username):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment