code: def close(self, resolution, dupeid=None, fixedin=None,
                comment=None, isprivate=False):
          
          # Note: fedora bodhi uses this function
          vals = self.bugzilla.build_update(comment=comment,
                                            comment_private=isprivate,
                                            resolution=resolution,
                                            dupe_of=dupeid,
                                            fixed_in=fixedin,
                                            status="CLOSED")
          log.debug("close: update=%s", vals)
  
          return self.bugzilla.update_bugs(self.bug_id, vals)
docs: Close this bug.
          Valid values for resolution are in bz.querydefaults['resolution_list']
          For bugzilla.redhat.com that's:
          ['NOTABUG', 'WONTFIX', 'DEFERRED', 'WORKSFORME', 'CURRENTRELEASE',
           'RAWHIDE', 'ERRATA', 'DUPLICATE', 'UPSTREAM', 'NEXTRELEASE',
           'CANTFIX', 'INSUFFICIENT_DATA']
          If using DUPLICATE, you need to set dupeid to the ID of the other bug.
          If using WORKSFORME/CURRENTRELEASE/RAWHIDE/ERRATA/UPSTREAM/NEXTRELEASE
            you can (and should) set 'new_fixed_in' to a string representing the
            version that fixes the bug.
          You can optionally add a comment while closing the bug. Set 'isprivate'
            to True if you want that comment to be private.