code: def updateflags(self, flags):
          
          flaglist = []
          for key, value in flags.items():
              flaglist.append({"name": key, "status": value})
          return self.bugzilla.update_bugs([self.bug_id],
              self.bugzilla.build_update(flags=flaglist))
docs: Thin wrapper around build_update(flags=X). This only handles simple
          status changes, anything like needinfo requestee needs to call
          build_update + update_bugs directly
  
          :param flags: Dictionary of the form {"flagname": "status"}, example
              {"needinfo": "?", "devel_ack": "+"}