Kaydet (Commit) 8dd70856 authored tarafından Faik Uygur's avatar Faik Uygur

* also pkg.description override is here.. source should be before that.

  (Ömer F. Usta saw this.)

  it was working when tested because fetch_component was also overriding 
  pkg.description later again. so i missed this.

  there wont be any difference in output packages but this was a bug.
üst cfea4133
......@@ -266,6 +266,12 @@ class SpecFile(XmlFile):
overrides the tags from Source. There is a more detailed
description in documents."""
#TODO: Description should be mandatory. Remove this crap when repo is ready.
#http://liste.pardus.org.tr/gelistirici/2006-September/002332.html
if not self.source.description:
self.source.description = autoxml.LocalText("Description")
self.source.description["en"] = self.source.summary["en"]
tmp = []
for pkg in self.packages:
if not pkg.summary:
......@@ -280,9 +286,3 @@ class SpecFile(XmlFile):
pkg.icon = self.source.icon
tmp.append(pkg)
self.packages = tmp
#TODO: Description should be mandatory. Remove this crap when repo is ready.
#http://liste.pardus.org.tr/gelistirici/2006-September/002332.html
if not self.source.description:
self.source.description = autoxml.LocalText("Description")
self.source.description["en"] = self.source.summary["en"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment