hack iterable to check for __iter__ as well as len() to work with python2.5
hack iterable to check for __iter__ as well as len() to work with python2.5

--HG--
extra : convert_revision : svn%3A3ed01bd8-26fb-0310-9e4c-ca1a4053419f/networkx/trunk%40237

chrisnatali/networkx,debsankha/networkx,tmilicic/networkx,harlowja/networkx,cmtm/networkx,dmoliveira/networkx,kernc/networkx,farhaanbukhsh/networkx,wasade/networkx,jtorrents/networkx,ghdk/networkx,goulu/networkx,nathania/networkx,aureooms/networkx,chrisnatali/networkx,kernc/networkx,jcurbelo/networkx,RMKD/networkx,jakevdp/networkx,aureooms/networkx,farhaanbukhsh/networkx,kai5263499/networkx,kernc/networkx,Sixshaman/networkx,aureooms/networkx,bzero/networkx,RMKD/networkx,RMKD/networkx,NvanAdrichem/networkx,ionanrozenfeld/networkx,ionanrozenfeld/networkx,jni/networkx,beni55/networkx,dhimmel/networkx,sharifulgeo/networkx,michaelpacer/networkx,yashu-seth/networkx,jakevdp/networkx,ghdk/networkx,SanketDG/networkx,OrkoHunter/networkx,jakevdp/networkx,jni/networkx,blublud/networkx,ghdk/networkx,dmoliveira/networkx,dhimmel/networkx,bzero/networkx,kai5263499/networkx,nathania/networkx,dmoliveira/networkx,ionanrozenfeld/networkx,sharifulgeo/networkx,debsankha/networkx,JamesClough/networkx,blublud/networkx,blublud/networkx,andnovar/networkx,debsankha/networkx,farhaanbukhsh/networkx,jtorrents/networkx,kai5263499/networkx,ltiao/networkx,nathania/networkx,jni/networkx,jfinkels/networkx,harlowja/networkx,sharifulgeo/networkx,harlowja/networkx,bzero/networkx,chrisnatali/networkx,dhimmel/networkx