I may be having a brain fart here, but I really can’t figure out what’s wrong with my code:
for key in tmpDict:
print type(tmpDict[key])
time.sleep(1)
if(type(tmpDict[key])==list):
print 'this is never visible'
break
the output is <type 'list'>
but the if statement never triggers. Can anyone spot my error here?