FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > 64 Studio > 64 Studio User

 
 
LinkBack Thread Tools
 
Old 10-29-2008, 02:44 PM
Chris Lumens
 
Default Search for the hash in the whiteboard, not as the entire whiteboard.

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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 10:40 PM.

VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org