Allow init of MemberException with no arguments

pull/5/head
Michael Spang 15 years ago
parent f37a9452d5
commit 92513f4587
  1. 2
      ceo/members.py

@ -45,7 +45,7 @@ def configure():
class MemberException(Exception):
"""Base exception class for member-related errors."""
def __init__(self, ex):
def __init__(self, ex=None):
Exception.__init__(self)
self.ex = ex
def __str__(self):

Loading…
Cancel
Save