Avoid unset var repo in gitea process
This commit is contained in:
@@ -717,6 +717,9 @@ def process_gitea(conf, one_shot, domain_cache):
|
||||
except Exception:
|
||||
log.exception("Error upgrading tag-only entry to a commit/compare diff")
|
||||
|
||||
#Make sure repo is set in some way:
|
||||
if ! repo:
|
||||
repo = ''
|
||||
# Clean author & title; extract commit message
|
||||
author = clean_author(author_raw)
|
||||
title_text = text_only(title_html)
|
||||
|
||||
Reference in New Issue
Block a user