[PATCH] Search for the hash in the whiteboard, not as the entire whiteboard.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is useful because the status_whiteboard can be used for other things -
like NEEDSRETESTING.  Our old search doesn't take this into account and will
therefore fail to find dupes if the whiteboard contains something else.
---
 exception.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/exception.py b/exception.py
index c54c9a1..70b61c0 100644
--- a/exception.py
+++ b/exception.py
@@ -403,7 +403,7 @@ def saveToBugzilla(anaconda, exn, dest):
     # list.  Otherwise, we need to create a new bug.
     wb = "anaconda_trace_hash:%s" % hash
     buglist = withBugzillaDo(filer, lambda b: b.query({'status_whiteboard': wb,
-                                                       'status_whiteboard_type':'allwordsexact',
+                                                       'status_whiteboard_type':'allwordssubstr',
                                                        'bug_status': []}))
     if buglist is None:
         return False
-- 
1.5.5.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux