def CreateIssue(self, diffbase, description):
    """Creates a new code review issue.

    Args:
      diffbase: string containing the diffbase.
      description: string containing the description.

    Returns:
      An integer containing the code review number or None.
    """
    reviewers = list(self._REVIEWERS)
    reviewers_cc = list(self._REVIEWERS_CC)

    try:
      # Remove self from reviewers list.
      reviewers.remove(self._email_address)
    except ValueError:
      pass

    try:
      # Remove self from reviewers CC list.
      reviewers_cc.remove(self._email_address)
    except ValueError:
      pass

    reviewers = u','.join(reviewers)
    reviewers_cc = u','.join(reviewers_cc)

    command = u'{0:s} {1:s} --oauth2'.format(
        sys.executable, self._upload_py_path)

    if self._no_browser:
      command = u'{0:s} --no_oauth2_webbrowser'.format(command)

    command = (
        u'{0:s} --send_mail -r {1:s} --cc {2:s} -t "{3:s}" -y -- '
        u'{4:s}').format(
            command, reviewers, reviewers_cc, description, diffbase)

    if self._no_browser:
      print(
          u'Upload server: codereview.appspot.com (change with -s/--server)\n'
          u'Go to the following link in your browser:\n'
          u'\n'
          u'    https://codereview.appspot.com/get-access-token\n'
          u'\n'
          u'and copy the access token.\n'
          u'\n')
      print(u'Enter access token:', end=u' ')

      sys.stdout.flush()

    exit_code, output, _ = self.RunCommand(command)
    print(output)

    if exit_code != 0:
      return

    issue_url_line_start = (
        u'Issue created. URL: http://codereview.appspot.com/')
    for line in output.split(b'\n'):
      if line in issue_url_line_start:
        _, _, issue_number = line.rpartition(issue_url_line_start)
        try:
          return int(issue_number, 10)
        except ValueError:
          pass
dataset/ETHPy150Open log2timeline/dfvfs/utils/review.py/CodeReviewHelper.CreateIssue/swapped operands of `in`