Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure that last_comment_text is not None #192

Merged
merged 1 commit into from Nov 10, 2021

Conversation

perlpunk
Copy link
Contributor

...for Redmine issues.

And fix the check for last_comment_text because if "" is false in python.

Issues:

Fixes this error:

File "/usr/lib/python3.8/site-packages/openqa_review/openqa_review.py",
line 780, in last_comment
  assert self.issue_type == "bugzilla"

...for Redmine issues.

And fix the check for last_comment_text because `if ""` is false in python.

Issues:
* https://progress.opensuse.org/issues/101722
* https://progress.opensuse.org/issues/102200

Fixes this error:

    File "/usr/lib/python3.8/site-packages/openqa_review/openqa_review.py",
    line 780, in last_comment
      assert self.issue_type == "bugzilla"
@okurz okurz merged commit 5e9a3be into os-autoinst:master Nov 10, 2021
@perlpunk perlpunk deleted the redmine-comments branch November 10, 2021 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants