RFE: bug.changed should be empty after running bug.commit() successfully
Bug #138837 reported by
Markus Korn
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-launchpad-bugs |
New
|
Wishlist
|
Unassigned |
Bug Description
As discussed with pitti yesterday, py-lp-bugs would be more robust if bug.changed returns an empty list after successfully running bug.commit(). As a side effect this would also allow code like:
<changes to bug>
bug.commit()
<more changes>
bug.commit()
To achieve this it would be also necessary to add a "reload" argument to the commit function like bug.commit(
Changed in python-launchpad-bugs: | |
importance: | Undecided → Wishlist |
To post a comment you must log in.
I was recently validating xorg.conf files in a bug report and was processing every xorg.conf attachment in a bug and if the bug had one invalid xorg.conf the bug would be tagged invalid-xorg-conf. However, this became a problem if after the invalid config file a valid one was found because the bug would then be tagged valid-xorg-conf since py-lp-b didn't know the bug had already been tagged invalid-xorg-conf.
If there were a reload function I could reload the bug after tags were added and the right thing would happen.