mirror of
https://github.com/platformio/platformio-core.git
synced 2025-08-01 19:04:29 +02:00
Change "print" function to Py2.x
This commit is contained in:
@@ -170,7 +170,7 @@ if is_uptarget:
|
|||||||
if "UPLOAD_PORT" not in env:
|
if "UPLOAD_PORT" not in env:
|
||||||
for item in get_serialports():
|
for item in get_serialports():
|
||||||
if "VID:PID" in item['hwid']:
|
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']
|
env['UPLOAD_PORT'] = item['port']
|
||||||
break
|
break
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user