I am writing an application on PyCharm in Python 2.6.6 and a strange return appears in this section:
if VAR1 != row2:
print "Hostname: %s" %VARNAME
print "Status 1: %s" %VAR1
print "Status 2: %s" %row2
print "%s != %s" % (VAR1, row2)
Return:
Hostname: SERV01
Status 1: 3
Status 2: 3
3 != (3L,)
Does somebody know what's happening here?
Aucun commentaire:
Enregistrer un commentaire