• R/O
  • SSH
  • HTTPS

pyhabu: Commit


Commit MetaInfo

Revision91 (tree)
Time2008-01-09 12:15:13
Authorliris

Log Message

filter.rssload can be publisher
runhabu.py

Change Summary

Incremental Difference

--- trunk/habu/filter/rssload.py (revision 90)
+++ trunk/habu/filter/rssload.py (revision 91)
@@ -7,7 +7,8 @@
77 def execute(self, content):
88 try:
99 rss = feedparser.parse(open(self.path).read())
10- rss["entries"].extend(content["entries"])
10+ if content:
11+ rss["entries"].extend(content["entries"])
1112
1213 return rss
1314 except:
--- trunk/runhabu.py (revision 90)
+++ trunk/runhabu.py (revision 91)
@@ -1,3 +1,5 @@
1+#!/usr/bin/env python
2+
13 from twisted.internet import reactor, defer
24 import habu
35 import habu.log as log
Show on old repository browser