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 = [];
|
out = [];
|
||||||
for o in obj:
|
for o in obj:
|
||||||
version = o['version'].encode('ascii')
|
version = o['version'].encode('ascii')
|
||||||
if version == todrop:
|
if version != todrop:
|
||||||
print("Dropping version {0}".format(todrop))
|
|
||||||
else:
|
|
||||||
out.append(o)
|
out.append(o)
|
||||||
return out
|
return out
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user