summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Woods <wwoods@redhat.com>2007-09-13 17:47:48 -0400
committerWill Woods <wwoods@redhat.com>2007-09-13 17:47:48 -0400
commit8df3228dfbf1f85488dc88b41921e1d1917bc04f (patch)
tree5b5bab03fb782ce424cd20cc4df73ef7170c7d92
parent6342b81bcce988c4ca37178e6e0dec4dead4dea9 (diff)
downloadpython-bugzilla-8df3228dfbf1f85488dc88b41921e1d1917bc04f.tar.gz
python-bugzilla-8df3228dfbf1f85488dc88b41921e1d1917bc04f.tar.xz
python-bugzilla-8df3228dfbf1f85488dc88b41921e1d1917bc04f.zip
tweak simplequery
-rw-r--r--bugzilla.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bugzilla.py b/bugzilla.py
index d8195ba..d18d8b3 100644
--- a/bugzilla.py
+++ b/bugzilla.py
@@ -274,7 +274,7 @@ class Bugzilla(object):
r = self._query(query)
return [Bug(bugzilla=self,dict=b) for b in r['bugs']]
- def simplequery(self,product,version,component,string,matchtype='allwordssubstr'):
+ def simplequery(self,product,version='',component='',string='',matchtype='allwordssubstr'):
'''Convenience method - query for bugs filed against the given
product, version, and component whose comments match the given string.
matchtype specifies the type of match to be done. matchtype may be