josiahcarlson/redis-in-action — pull request #2 by slackpad (2013-05-29 01:03:46+00:00)
Title: Small bugfix to daily_country_aggregate()

When None is passed in to cause the aggregates to get flush, the split() call on the None argument will cause an exception. Move the split() call inside the if statement.