Fix patches
This commit is contained in:
parent
7b8d9bdba0
commit
26ca1342d0
|
@ -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
|
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.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
|
+++ 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}'"
|
log.error("Failed to fetch bug #{0} from '{1}'"
|
||||||
.format(bug_id, atype))
|
.format(bug_id, atype))
|
||||||
|
|
||||||
+ elif atype == "almalinux-mantisbt":
|
+ elif atype == "almalinux-mantisbt":
|
||||||
+ bug_id = int(attachment["data"])
|
+ 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:
|
+ else:
|
||||||
+ log.error("Failed to fetch bug #{0} from '{1}'"
|
+ log.error("Failed to fetch bug #{0} from '{1}'"
|
||||||
+ .format(bug_id, atype))
|
+ .format(bug_id, atype))
|
||||||
+
|
|
||||||
elif atype == "comment":
|
elif atype == "comment":
|
||||||
comment = ReportComment()
|
comment = ReportComment()
|
||||||
comment.report = report
|
|
||||||
|
|
|
@ -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):
|
def test_delete_user_data(self):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue