Kaydet (Commit) 0b743441 authored tarafından Kurt B. Kaiser's avatar Kurt B. Kaiser

...and the old pyclbr.py faked Function instances with Class instances

which had empty method and super attributes.  ClassBrowser.IsExpandable()
could not handle the missing attributes.  SF Bug 667787.
üst ea4250df
......@@ -143,7 +143,10 @@ class ClassBrowserTreeItem(TreeItem):
def IsExpandable(self):
if self.cl:
return not not self.cl.methods
try:
return not not self.cl.methods
except AttributeError:
return False
def GetSubList(self):
if not self.cl:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment