8faa6da
@@ -803,7 +803,7 @@
'present)'
# Check the format of the title
- if not ' - ' in tmp:
+ if tmp and not ' - ' in tmp:
httpcode = 400
output['output'] = 'notok'
output['error'] = 'Invalid title for this bugzilla ticket (no "-" '\
Fixes https://pagure.io/pkgdb2/issue/62
I just found out about this PR :-s sorry about that.
The change itself looks good, would you mind rebasing so I can merge it? I realize pkgdb is going away in Fedora fairly soon but there is at least one more pkgdb instance running that could benefit from this fix.
Thanks!
rebased
Done.
Pull-Request has been merged by pingou
Fixes https://pagure.io/pkgdb2/issue/62