Skip to content
Permalink
Browse files
pkgindex_scan: add is_special_entry meta key
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Mar 26, 2018
1 parent 289fc52 commit 889c863f76d481866dc73aa9b4dfcd3025b855ee
Showing with 5 additions and 1 deletion.
  1. +1 −1 v7/pkgindex_scan/pkgindex_scan.plugin
  2. +4 −0 v7/pkgindex_scan/pkgindex_scan.py
@@ -8,6 +8,6 @@ MinVersion = 7.8.1+

[Documentation]
Author = Chris Warrick
Version = 0.4.0
Version = 0.4.1
Website = https://plugins.getnikola.com/
Description = Scan packages for package indexes
@@ -73,6 +73,8 @@ def scan(self):
compiler
)
post.is_two_file = True
for d in post.meta.values():
d['is_special_entry'] = False
timeline.append(post)
self.site.pkgindex_entries[topdir].append(post)
self._update_name_multiver(post)
@@ -89,6 +91,8 @@ def scan(self):
compiler
)
post.is_two_file = True
for d in post.meta.values():
d['is_special_entry'] = True
timeline.append(post)
self.site.pkgindex_entries[topdir].append(post)
self._update_name_multiver(post)

0 comments on commit 889c863

Please sign in to comment.