aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2008-06-07 11:34:00 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2008-06-07 11:34:00 +0000
commit485ab51b143b6308bc96f3c0028534c5961cdfb0 (patch)
tree710743575216995bcd7e699406cff3e272aae06b /lib/python/Components
parent2d27932b3883a9e7a0e169caad004c16fd276808 (diff)
downloadenigma2-485ab51b143b6308bc96f3c0028534c5961cdfb0.tar.gz
enigma2-485ab51b143b6308bc96f3c0028534c5961cdfb0.zip
properly fix GSOD from last commit
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/DreamInfoHandler.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/python/Components/DreamInfoHandler.py b/lib/python/Components/DreamInfoHandler.py
index 833fea4c..f9bd479e 100644
--- a/lib/python/Components/DreamInfoHandler.py
+++ b/lib/python/Components/DreamInfoHandler.py
@@ -208,7 +208,7 @@ class DreamInfoHandler:
attributes = self.installingAttributes
#print "attributes:", attributes
- if self.currentAttributeIndex >= len(self.attributeNames) - 1: # end of package reached
+ if self.currentAttributeIndex >= len(self.attributeNames): # end of package reached
print "end of package reached"
if self.currentlyInstallingMetaIndex is None or self.currentlyInstallingMetaIndex >= len(self.installIndexes) - 1:
print "set status to DONE"
@@ -219,9 +219,11 @@ class DreamInfoHandler:
self.currentlyInstallingMetaIndex += 1
self.currentAttributeIndex = 0
self.installPackage(self.installIndexes[self.currentlyInstallingMetaIndex])
+ return
self.setStatus(self.STATUS_WORKING)
+ print "currentAttributeIndex:", self.currentAttributeIndex
currentAttribute = self.attributeNames[self.currentAttributeIndex]
print "installing", currentAttribute, "with index", self.currentIndex