From 10bf179997d38aae66615a1a9b972ea3ea91e843 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Apr 02 2019 14:12:42 +0000 Subject: Fix a typo in the origin of a PR to issue relation Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/lib/query.py b/pagure/lib/query.py index 878aaf3..571024b 100644 --- a/pagure/lib/query.py +++ b/pagure/lib/query.py @@ -1938,7 +1938,7 @@ def link_pr_to_issue_on_description(session, request): # Drop the existing initial_comment_pr-based relations session.query(model.PrToIssue).filter( model.PrToIssue.pull_request_uid == request.uid - ).filter(model.PrToIssue.origin == "intial_comment_pr").delete( + ).filter(model.PrToIssue.origin == "initial_comment_pr").delete( synchronize_session="fetch" )