On Fri, Oct 5, 2012 at 2:03 PM, Mike <mike20007 at gmail.com> wrote: > I added the print command. > > It prints [] when there is no data. Change "iter(next_r, None)" to "iter(next_r, [])"