What I was proposing has not been applied. The first
few lines of the function should looke like this:
#######################################################################
def __selectGroup(self,groupid):
- if groupid:
- self.selectedgroupid = groupid
- lvi = self.groupidsToListItems[groupid]
- self.grouplist.setSelected(lvi,True)
Everything else in the function should be enclosed in the same "if groupid". That is, the validation for the function belongs to the function, not to the functon callers.
The version I am seeing in websvn is rev=621399. Here is the full path:
What I was proposing has not been applied. The first ####### ####### ####### ####### ####### ####### ####### ####### ####### ##### self,groupid) : oupid = groupid ListItems[ groupid] setSelected( lvi,True)
few lines of the function should looke like this:
###
def __selectGroup(
- if groupid:
- self.selectedgr
- lvi = self.groupidsTo
- self.grouplist.
Everything else in the function should be enclosed in the same "if groupid". That is, the validation for the function belongs to the function, not to the functon callers.
The version I am seeing in websvn is rev=621399. Here is the full path:
http:// websvn. kde.org/ trunk/playgroun d/base/ guidance/ userconfig/ userconfig. py?rev= 621399& view=markup
Am I looking at the wrong place ?
Thanks!
-- Leo