Fix patches

This commit is contained in:
eabdullin 2023-05-22 10:49:15 +03:00
parent 7b8d9bdba0
commit 26ca1342d0
2 changed files with 4 additions and 5 deletions

View File

@ -436,10 +436,10 @@ diff -Naur faf-git-2884.9521ad3.orig/src/pyfaf/opsys/almalinux.py faf-git-2884.9
diff -Naur faf-git-2884.9521ad3.orig/src/pyfaf/ureport.py faf-git-2884.9521ad3.almalinux/src/pyfaf/ureport.py
--- faf-git-2884.9521ad3.orig/src/pyfaf/ureport.py 2021-01-27 00:52:48.000000000 +0300
+++ faf-git-2884.9521ad3.almalinux/src/pyfaf/ureport.py 2021-02-09 19:24:28.761661372 +0300
@@ -487,6 +487,42 @@
@@ -483,6 +483,40 @@
else:
log.error("Failed to fetch bug #{0} from '{1}'"
.format(bug_id, atype))
+ elif atype == "almalinux-mantisbt":
+ bug_id = int(attachment["data"])
+
@ -474,7 +474,6 @@ diff -Naur faf-git-2884.9521ad3.orig/src/pyfaf/ureport.py faf-git-2884.9521ad3.a
+ else:
+ log.error("Failed to fetch bug #{0} from '{1}'"
+ .format(bug_id, atype))
+
elif atype == "comment":
comment = ReportComment()
comment.report = report

View File

@ -261,4 +261,4 @@ diff -crB tests.orig/test_webfaf/test_user.py tests/test_webfaf/test_user.py
def test_delete_user_data(self):
"""