mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-20 10:24:18 +03:00
hide dropping message in json package file (#6070)
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user