if self.elements[-1] == "shortdescription":
self.attributes["shortdescription"] = str(data)
if self.elements[-1] == "description":
- self.data += data
+ self.data += data.strip()
self.attributes["description"] = str(self.data)
#print "characters", data
for indexfile in os.listdir(self.directory[0]):
if indexfile.startswith("index-"):
if indexfile.endswith(".xml"):
+ if indexfile[-7:-6] == "_":
+ continue
indexfileList.append(indexfile)
if len(indexfileList):
for file in indexfileList:
def installIPK(self, directory, name):
if self.blocking:
- os.system("ipkg install " + directory + name)
+ os.system("opkg install " + directory + name)
self.installNext()
else:
self.ipkg = IpkgComponent()