Another attempt at grabbing current_series

main
Simon Quigley 6 days ago
parent 1b9a9f9906
commit 70b0764a12

@ -391,7 +391,8 @@ int main(int argc, char* argv[]) {
auto ubuntu_opt = lp->distributions["ubuntu"]; auto ubuntu_opt = lp->distributions["ubuntu"];
distribution ubuntu = ubuntu_opt.value(); distribution ubuntu = ubuntu_opt.value();
distro_series current_series = ubuntu.current_series.value(); auto ds_opt = ubuntu.current_series;
distro_series current_series = ds_opt.value();
// Retrieve user and PPA // Retrieve user and PPA
auto user_opt = lp->people[args.user]; auto user_opt = lp->people[args.user];

Loading…
Cancel
Save