diff options
author | Kurt B. Kaiser <kbk@shore.net> | 2007-08-23 01:06:15 (GMT) |
---|---|---|
committer | Kurt B. Kaiser <kbk@shore.net> | 2007-08-23 01:06:15 (GMT) |
commit | ad66742e3459addfaf7542808611c7dca254a8fd (patch) | |
tree | aa478d06ca74ee33330fea9599ca8e268de6c776 /Lib/idlelib/RemoteDebugger.py | |
parent | e45be28be665a04aef0d0a7444ba27fde2dd2d5f (diff) | |
download | cpython-ad66742e3459addfaf7542808611c7dca254a8fd.zip cpython-ad66742e3459addfaf7542808611c7dca254a8fd.tar.gz cpython-ad66742e3459addfaf7542808611c7dca254a8fd.tar.bz2 |
Fix raise with 2to3
M idlelib/configHandler.py
M idlelib/tabpage.py
M idlelib/EditorWindow.py
M idlelib/rpc.py
M idlelib/IOBinding.py
M idlelib/RemoteDebugger.py
M idlelib/TreeWidget.py
Diffstat (limited to 'Lib/idlelib/RemoteDebugger.py')
-rw-r--r-- | Lib/idlelib/RemoteDebugger.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/RemoteDebugger.py b/Lib/idlelib/RemoteDebugger.py index 38583db..11bbc2d 100644 --- a/Lib/idlelib/RemoteDebugger.py +++ b/Lib/idlelib/RemoteDebugger.py @@ -206,7 +206,7 @@ class FrameProxy: def __getattr__(self, name): if name[:1] == "_": - raise AttributeError, name + raise AttributeError(name) if name == "f_code": return self._get_f_code() if name == "f_globals": @@ -270,7 +270,7 @@ class DictProxy: def __getattr__(self, name): ##print >>sys.__stderr__, "failed DictProxy.__getattr__:", name - raise AttributeError, name + raise AttributeError(name) class GUIAdapter: |