← Back to team overview

launchpad-dev team mailing list archive

Re: how to run close_bugs_from_commits.py

 

Edwin Grubbs <edwin.grubbs@xxxxxxxxxxxxx> writes:
> I finally figured out what the problem was. It was failing on the
> second project name in the config file because I had a space after the
> commas. Ahhhhhhhhhh!!! This was confusing, since it wasn't returning
> None or raising a KeyError. Instead, it was returning an Entry object
> whose lp_attributes even showed "self_link", even though this
> attribute didn't actually exist for it.
>
> [Project]
> name = launchpad-registry, blueprint, launchpad-foundations

[deep thought] It would be nice if any error encountered while reading
the config file would mention that, you know, the error happened while
reading the config file!





References