> > print update_sku, update_stock > #Returned the whole feed > 2817312 130 > 2842300 22 > 2846762 50 > 2859391 22 > BPC60SS 22 > BPC70SS 2 > BPC90SS 2 > BPS60SS 22 > BPS70SS 22 > BPS90SS 22 > BTD600 22 > BWC150SS 80 > BWC300SS 22 > > print p.sku, p.items_in_stock > #Returned only the last line > BWC300SS 22 > > I don't get it why it didn't return the full excel feed again.
I was looking at your code on dpaste and I cannot see a reason why the last print line would only run once. The only reason I could think of is maybe you have a mix of white- space characters in your file. You should use either tabs, or spaces to indent your code, not both. Does your editor offer an option to show tabs and spaces so you can see if you have a mix? Steve --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---