projects
/
zzz-spline-frontpage.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Split off updates to another template. List sources.
[zzz-spline-frontpage.git]
/
splinext
/
frontpage
/
controllers
/
frontpage.py
diff --git
a/splinext/frontpage/controllers/frontpage.py
b/splinext/frontpage/controllers/frontpage.py
index
764b292
..
0990e81
100644
(file)
--- a/
splinext/frontpage/controllers/frontpage.py
+++ b/
splinext/frontpage/controllers/frontpage.py
@@
-52,7
+52,8
@@
class FrontPageController(BaseController):
global_max_age = max_age_to_datetime(
config['spline-frontpage.max_age'])
global_max_age = max_age_to_datetime(
config['spline-frontpage.max_age'])
- for source in config['spline-frontpage.sources']:
+ c.sources = config['spline-frontpage.sources']
+ for source in c.sources:
new_updates = source.poll(global_limit, global_max_age)
updates.extend(new_updates)
new_updates = source.poll(global_limit, global_max_age)
updates.extend(new_updates)