@@ -171,18 +171,14 @@ def __setstate__(self, vals):
171171 # Modify bug status #
172172 #####################
173173
174- def setstatus (self , status , comment = None , private = False ,
175- private_in_it = False , nomail = False ):
174+ def setstatus (self , status , comment = None , private = False ):
176175 '''
177176 Update the status for this bug report.
178177 Commonly-used values are ASSIGNED, MODIFIED, and NEEDINFO.
179178
180179 To change bugs to CLOSED, use .close() instead.
181180 '''
182181 # Note: fedora bodhi uses this function
183- ignore = private_in_it
184- ignore = nomail
185-
186182 vals = self .bugzilla .build_update (status = status ,
187183 comment = comment ,
188184 comment_private = private )
@@ -191,8 +187,7 @@ def setstatus(self, status, comment=None, private=False,
191187 return self .bugzilla .update_bugs (self .bug_id , vals )
192188
193189 def close (self , resolution , dupeid = None , fixedin = None ,
194- comment = None , isprivate = False ,
195- private_in_it = False , nomail = False ):
190+ comment = None , isprivate = False ):
196191 '''Close this bug.
197192 Valid values for resolution are in bz.querydefaults['resolution_list']
198193 For bugzilla.redhat.com that's:
@@ -207,9 +202,6 @@ def close(self, resolution, dupeid=None, fixedin=None,
207202 to True if you want that comment to be private.
208203 '''
209204 # Note: fedora bodhi uses this function
210- ignore = private_in_it
211- ignore = nomail
212-
213205 vals = self .bugzilla .build_update (comment = comment ,
214206 comment_private = isprivate ,
215207 resolution = resolution ,
@@ -225,7 +217,7 @@ def close(self, resolution, dupeid=None, fixedin=None,
225217 # Modify bug emails #
226218 #####################
227219
228- def setassignee (self , assigned_to = None , reporter = None ,
220+ def setassignee (self , assigned_to = None ,
229221 qa_contact = None , comment = None ):
230222 '''
231223 Set any of the assigned_to or qa_contact fields to a new
@@ -238,9 +230,6 @@ def setassignee(self, assigned_to=None, reporter=None,
238230
239231 Returns [bug_id, mailresults].
240232 '''
241- if reporter :
242- raise ValueError ("reporter can not be changed" )
243-
244233 if not (assigned_to or qa_contact ):
245234 raise ValueError ("You must set one of assigned_to "
246235 " or qa_contact" )
@@ -279,17 +268,12 @@ def deletecc(self, cclist, comment=None):
279268 # comment handling #
280269 ####################
281270
282- def addcomment (self , comment , private = False ,
283- timestamp = None , worktime = None , bz_gid = None ):
271+ def addcomment (self , comment , private = False ):
284272 '''
285273 Add the given comment to this bug. Set private to True to mark this
286274 comment as private.
287275 '''
288276 # Note: fedora bodhi uses this function
289- ignore = timestamp
290- ignore = bz_gid
291- ignore = worktime
292-
293277 vals = self .bugzilla .build_update (comment = comment ,
294278 comment_private = private )
295279 log .debug ("addcomment: update=%s" , vals )
0 commit comments