#645 repaired import in builds_logic Closes #644
Merged 10 months ago by praiskup. Opened 10 months ago by hojang.
copr/ hojang/copr import_fix  into  master

@@ -22,7 +22,7 @@ 

  from coprs import helpers

  from coprs.constants import DEFAULT_BUILD_TIMEOUT, MAX_BUILD_TIMEOUT

  from coprs.exceptions import MalformedArgumentException, ActionInProgressException, InsufficientRightsException, \

-                              UnrepeatableBuildException, RequestCannotBeExecuted

+                              UnrepeatableBuildException, RequestCannotBeExecuted, DuplicateException


  from coprs.logic import coprs_logic

  from coprs.logic import users_logic

@@ -874,7 +874,7 @@ 

                          pkg_name, build.source_type, build.source_json)



-                 except (sqlalchemy.exc.IntegrityError, exceptions.DuplicateException) as e:

+                 except (IntegrityError, DuplicateException) as e:





PR on https://pagure.io/copr/copr/issue/644

Btw, you can just write #644 and it will automatically create a link to the issue for you ;-)

Metadata Update from @praiskup:
- Pull-request tagged with: review

10 months ago

We usually put [frontend] ... into commit message "topic", and fixes #644 somewhere in commit message.

Pull-Request has been merged by praiskup

10 months ago