this struct is a list of lists

This commit is contained in:
Thomas S Hatch 2014-01-03 13:50:00 -07:00
parent 55e21aea95
commit 065ef681db

View File

@ -120,12 +120,12 @@ def prep_trans_tar(opts, chunks, file_refs):
file_client = salt.fileclient.LocalClient(opts) file_client = salt.fileclient.LocalClient(opts)
lowfn = os.path.join(gendir, 'lowstate.json') lowfn = os.path.join(gendir, 'lowstate.json')
sync_refs = [ sync_refs = [
'salt://_modules', ['salt://_modules'],
'salt://_states', ['salt://_states'],
'salt://_grains', ['salt://_grains'],
'salt://_renderers', ['salt://_renderers'],
'salt://_returners', ['salt://_returners'],
'salt://_outputters', ['salt://_outputters'],
] ]
with open(lowfn, 'w+') as fp_: with open(lowfn, 'w+') as fp_:
fp_.write(json.dumps(chunks)) fp_.write(json.dumps(chunks))