Skip to content
This repository has been archived by the owner on Oct 29, 2018. It is now read-only.

removed the integrity exception #127

Merged
merged 1 commit into from
Nov 9, 2013
Merged

removed the integrity exception #127

merged 1 commit into from
Nov 9, 2013

Conversation

tessie
Copy link

@tessie tessie commented Nov 8, 2013

Removed the integrity exception from fedoratagger.api.api.py

@ralphbean
Copy link

So, the reason we decided we could remove this except block is that we looked into it and found that the add_rating function protects itself against error already -- it will never raise an integrityerror in the way we were expecting it here.

https://github.com/fedora-infra/fedora-tagger/blob/develop/fedoratagger/lib/__init__.py#L89

I'm 👍 to the change, but I'll leave the PR open in case any other infra devs want to take a look.

@tessie
Copy link
Author

tessie commented Nov 8, 2013

Hi

So will it be considered as patch for opw

Regards
Tessy

On Fri, Nov 8, 2013 at 6:20 PM, Ralph Bean notifications@github.com wrote:

So, the reason we decided we could remove this except block is that we
looked into it and found that the add_rating function protects itself
against error already -- it will never raise an integrityerror in the way
we were expecting it here.

https://github.com/fedora-infra/fedora-tagger/blob/develop/fedoratagger/lib/__init__.py#L89

I'm [image: 👍] to the change, but I'll leave the PR open in case any
other infra devs want to take a look.


Reply to this email directly or view it on GitHubhttps://github.com//pull/127#issuecomment-28106324
.

@ralphbean
Copy link

So will it be considered as patch for opw

Oh, yes. Of course. :)

@pypingou
Copy link
Member

pypingou commented Nov 9, 2013

I recognize myself in this code, I often have belt in suspenders :)

👍 for me

@ralphbean
Copy link

Cool -- I'll merge it in! Thanks @tessie, @pypingou!

ralphbean added a commit that referenced this pull request Nov 9, 2013
removed the integrity exception
@ralphbean ralphbean merged commit 5db579f into fedora-infra:develop Nov 9, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants