Add FAS name to name of entry
This commit is contained in:
parent
59c0fe8a1a
commit
0f3a4fab51
1 changed files with 2 additions and 1 deletions
|
@ -91,8 +91,9 @@ class PlanetBuilder(object):
|
|||
result += bc
|
||||
|
||||
for e in self.entries.values():
|
||||
fasname = os.path.split(os.path.split(e.origin)[0])[1]
|
||||
e_format = "# Origin: %s\n" % (e.origin)
|
||||
e_format += "[%s]\nname=%s\n" % (e.feed, e.name)
|
||||
e_format += "[%s]\nname=%s (%s)\n" % (e.feed, e.name, fasname)
|
||||
if e.face:
|
||||
e_format += "face=%s\n" % (e.face)
|
||||
result += e_format
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue