aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/DreamInfoHandler.py
diff options
context:
space:
mode:
authoracid-burn <acid-burn@opendreambox.org>2011-05-09 11:07:49 +0200
committeracid-burn <acid-burn@opendreambox.org>2011-05-09 11:07:49 +0200
commit29093ae1bc70153c52d4f72def2e2a011388583d (patch)
treed6b7ff877e9b052367bbe411fbe982679c589a53 /lib/python/Components/DreamInfoHandler.py
parent66fe4b3122e8be475ed557a6324e709eb1ca520a (diff)
parentbaedb13351c92deaf80c2b1bc012054c8cc69bdc (diff)
downloadenigma2-29093ae1bc70153c52d4f72def2e2a011388583d.tar.gz
enigma2-29093ae1bc70153c52d4f72def2e2a011388583d.zip
Merge remote branch 'origin/acid-burn/network_changes_next'
Diffstat (limited to 'lib/python/Components/DreamInfoHandler.py')
-rwxr-xr-xlib/python/Components/DreamInfoHandler.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/python/Components/DreamInfoHandler.py b/lib/python/Components/DreamInfoHandler.py
index 8e9c29d1..8097365c 100755
--- a/lib/python/Components/DreamInfoHandler.py
+++ b/lib/python/Components/DreamInfoHandler.py
@@ -84,6 +84,8 @@ class InfoHandler(xml.sax.ContentHandler):
self.attributes["packagename"] = str(attrs["packagename"])
if attrs.has_key("packagetype"):
self.attributes["packagetype"] = str(attrs["packagetype"])
+ if attrs.has_key("needsRestart"):
+ self.attributes["needsRestart"] = str(attrs["needsRestart"])
if attrs.has_key("shortdescription"):
self.attributes["shortdescription"] = str(attrs["shortdescription"])
@@ -120,6 +122,8 @@ class InfoHandler(xml.sax.ContentHandler):
self.attributes["name"] = str(data)
if self.elements[-1] == "packagename":
self.attributes["packagename"] = str(data)
+ if self.elements[-1] == "needsRestart":
+ self.attributes["needsRestart"] = str(data)
if self.elements[-1] == "shortdescription":
self.attributes["shortdescription"] = str(data)
if self.elements[-1] == "description":