summaryrefslogtreecommitdiff
path: root/portato/gui/qt/tree.py
diff options
context:
space:
mode:
authornecoro <>2007-07-09 04:51:41 +0000
committernecoro <>2007-07-09 04:51:41 +0000
commitbaf4d66fea871cd6c285c51fcbb995efe5dd6800 (patch)
tree6bb632c8612f4dde50bceb798593b96e9c234cb1 /portato/gui/qt/tree.py
parent6d9340ebbb5b942b0996053b0479827c1cf81b5a (diff)
downloadportato-baf4d66fea871cd6c285c51fcbb995efe5dd6800.tar.gz
portato-baf4d66fea871cd6c285c51fcbb995efe5dd6800.tar.bz2
portato-baf4d66fea871cd6c285c51fcbb995efe5dd6800.zip
added resume_loop plugin
Diffstat (limited to '')
-rw-r--r--portato/gui/qt/tree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/gui/qt/tree.py b/portato/gui/qt/tree.py
index 6e9950f..7c0fa4c 100644
--- a/portato/gui/qt/tree.py
+++ b/portato/gui/qt/tree.py
@@ -72,7 +72,7 @@ class QtTree (Tree):
iter += 1 # next iter ...
newIt = iter.value()
- if newIt.parent() != it.parent(): # stop if we left the current parent
+ if not newIt or newIt.parent() != it.parent(): # stop if we left the current parent
return None
else:
return newIt
a95807d6d9f729&follow=1'>Rename config.c to parsing.c + move cgit_parse_query from cgit.c to parsing.cLars Hjemli4-28/+29 2006-12-11Avoid infinite loops in caching layerLars Hjemli3-14/+31 2006-12-11Let 'make install' clear all cachefilesLars Hjemli1-0/+2 2006-12-11Fix cache algorithm loopholeLars Hjemli3-11/+16 2006-12-10Add version identifier in generated filesLars Hjemli2-9/+14 2006-12-10Add license file and copyright noticesLars Hjemli5-0/+372 2006-12-10Add caching infrastructureLars Hjemli9-28/+353