Skip to content

Commit ac02aff

Browse files
authored
hide dropping message in json package file (#6070)
1 parent 024b1c1 commit ac02aff

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

package/drop_versions.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ def drop_version(todrop, obj):
1919
out = [];
2020
for o in obj:
2121
version = o['version'].encode('ascii')
22-
if version == todrop:
23-
print("Dropping version {0}".format(todrop))
24-
else:
22+
if version != todrop:
2523
out.append(o)
2624
return out
2725

0 commit comments

Comments
 (0)