Permalink
Browse files

run both feeds

  • Loading branch information...
1 parent 12e0290 commit e9f46e1c8777018e41ce2b1d1eb0fa3eb4cb4ce4 @erowan erowan committed Mar 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/health.py
View
@@ -132,7 +132,7 @@ def main():
d = date.today()
food = build_feed('food', UrlProtocol(FoodFile()), FoodParser())
who = build_feed('who', UrlProtocol(WhoFiles()), WhoParser())
- results = go('health', [who], start=date(2011,1,1), end=d)
+ results = go('health', [who, food], start=date(2011,1,1), end=d)
for feed, feed_result in results.iteritems():
print 'feed={0}, count={1}'.format(feed, feed_result['count'])
for item in feed_result['obj'].updater.data_items:

0 comments on commit e9f46e1

Please sign in to comment.