Merge lp:~julian-edwards/launchpad/oops-copy-build-bug-599824 into lp:launchpad
Proposed by
Julian Edwards
Status: | Merged |
---|---|
Merged at revision: | 11091 |
Proposed branch: | lp:~julian-edwards/launchpad/oops-copy-build-bug-599824 |
Merge into: | lp:launchpad |
Diff against target: |
39 lines (+6/-5) 2 files modified
lib/lp/soyuz/doc/archive.txt (+2/-4) lib/lp/soyuz/model/archive.py (+4/-1) |
To merge this branch: | bzr merge lp:~julian-edwards/launchpad/oops-copy-build-bug-599824 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Māris Fogels (community) | release-critical | Approve | |
Brad Crittenden (community) | code | Approve | |
Review via email:
|
Description of the change
When viewing failed builds in copy archives, the page currently OOPSes unless you're a buildd-admin. This is because the page checks to see if you're an uploader so it can decide whether to render a retry button or not.
The code that checks if you're an uploader,for some bizarre reason, raises an AssertionError instead of just returning False.
The change just makes it return False. This doesn't affect anything other than the UI because it's impossible to upload to copy archives for technical reasons anyway.
To post a comment you must log in.
Following a discussion on IRC: Looks good, release- critical= mars.