Bug fix: CEO (main.py) still referenced an exception that changed name in 0.2
authorMichael Spang <mspang@uwaterloo.ca>
Sun, 28 Jan 2007 06:58:57 +0000 (01:58 -0500)
committerMichael Spang <mspang@uwaterloo.ca>
Sun, 28 Jan 2007 06:58:57 +0000 (01:58 -0500)
pylib/csc/apps/legacy/main.py

index f2c6387..e9a463e 100644 (file)
@@ -294,7 +294,7 @@ def action_create_account(wnd):
     try:
         if not accounts.connected(): accounts.connect()
         accounts.create_member(userid, password, member['name'], memberid)
-    except accounts.AccountExists, e:
+    except accounts.NameConflict, e:
         msgbox(wnd, str(e))
         return False
     except accounts.NoAvailableIDs, e: