mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 15:13:27 +02:00
16 lines
370 B
Python
16 lines
370 B
Python
|
#!/usr/bin/env python2
|
||
|
#
|
||
|
# This script is for updating the .pickle test files when there are changes to
|
||
|
# the default metadata, e.g. adding a new key/tag.
|
||
|
|
||
|
import glob
|
||
|
import pickle
|
||
|
|
||
|
for picklefile in glob.glob('*.pickle'):
|
||
|
p = pickle.load(open(picklefile))
|
||
|
|
||
|
for build in p['builds']:
|
||
|
build['gradleprops'] = []
|
||
|
|
||
|
pickle.dump(p, open(picklefile, 'w'))
|