mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-22 21:23:07 +03:00
hide dropping message in json package file (#6070)
This commit is contained in:
parent
024b1c15ca
commit
ac02aff575
@ -19,9 +19,7 @@ def drop_version(todrop, obj):
|
||||
out = [];
|
||||
for o in obj:
|
||||
version = o['version'].encode('ascii')
|
||||
if version == todrop:
|
||||
print("Dropping version {0}".format(todrop))
|
||||
else:
|
||||
if version != todrop:
|
||||
out.append(o)
|
||||
return out
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user