Kaydet (Commit) 96bf0d75 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

Kurt pointed out another method affected by the changes to pyclbr.py.

üst 70c3dda2
......@@ -142,8 +142,10 @@ class ClassBrowserTreeItem(TreeItem):
return "folder"
def IsExpandable(self):
if self.cl:
return not not self.cl.methods
try:
return bool(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