Change "print" function to Py2.x

This commit is contained in:
Ivan Kravets
2014-10-03 19:54:02 +03:00
parent 907a72d3bd
commit 7de5166694

View File

@ -170,7 +170,7 @@ if is_uptarget:
if "UPLOAD_PORT" not in env:
for item in get_serialports():
if "VID:PID" in item['hwid']:
print ("Auto-detected UPLOAD_PORT: %s" % item['port'])
print "Auto-detected UPLOAD_PORT: %s" % item['port']
env['UPLOAD_PORT'] = item['port']
break