/offlineimap/head: changeset 159

NotImplementedException -> NotImplementedError (oops)
This commit is contained in:
jgoerzen 2002-07-22 07:02:24 +01:00
parent 39060259d0
commit fac88fbe6b
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ class UIBase:
################################################## UTILS
def _msg(s, msg):
"""Generic tool called when no other works."""
raise NotImplementedException
raise NotImplementedError
def warn(s, msg):
s._msg("WARNING: " + msg)
@ -47,7 +47,7 @@ class UIBase:
################################################## INPUT
def getpass(s, accountname, config):
raise NotImplementedException
raise NotImplementedError
def folderlist(s, list):
return ', '.join(["%s[%s]" % (s.getnicename(x), x.getname()) for x in list])