r54027 - python/branches/p3yk_no_args_on_exc/Lib/getopt.py
Feb. 28, 2007
6:31 p.m.
Author: brett.cannon Date: Wed Feb 28 19:31:02 2007 New Revision: 54027 Modified: python/branches/p3yk_no_args_on_exc/Lib/getopt.py Log: Fix getopt for BaseException.args removal. Modified: python/branches/p3yk_no_args_on_exc/Lib/getopt.py ============================================================================== --- python/branches/p3yk_no_args_on_exc/Lib/getopt.py (original) +++ python/branches/p3yk_no_args_on_exc/Lib/getopt.py Wed Feb 28 19:31:02 2007 @@ -42,7 +42,7 @@ def __init__(self, msg, opt=''): self.msg = msg self.opt = opt - Exception.__init__(self, msg, opt) + Exception.__init__(self, (msg, opt)) def __str__(self): return self.msg
7131
Age (days ago)
7131
Last active (days ago)
0 comments
1 participants
participants (1)
-
brett.cannon