Advertisement
Guest User

Untitled

a guest
Jan 21st, 2020
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.02 KB | None | 0 0
  1. rpus = [{"id": "ib",
  2.           "version": "emulator_1.0.1"
  3.             },
  4.             {
  5.                 "id": "merger_faseth",
  6.                 "version": "1.0.1"
  7.             },
  8.             {
  9.                 "id": "merger_califr",
  10.                 "version": "1.0.1"
  11.             },
  12.             {
  13.                 "id": "bcp",
  14.                 "version": "emulator_1.0.1"
  15.             },
  16.             {
  17.                 "id": "ucap",
  18.                 "version": "emulator_1.0.1"
  19.             },
  20.             {
  21.                 "id": "srr_mid",
  22.                 "version": "emulator_1.0.1"
  23.             },
  24.             {
  25.                 "id": "adcam_mid",
  26.                 "version": "emulator_1.0.1"
  27.             },
  28.             {
  29.                 "id": "frr_f",
  30.                 "version": "emulator_1.0.1"
  31.             },
  32.             {
  33.                 "id": "mpad",
  34.                 "version": "emulator_1.0.1"
  35.             }]
  36.  
  37.  
  38. structured_rpus = {}
  39. for rpu in rpus:
  40.     structured_rpus[rpu['id']] = rpu
  41.  
  42. print(structured_rpus)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement