Correct use of not in if statement
This commit is contained in:
@@ -718,7 +718,7 @@ def process_gitea(conf, one_shot, domain_cache):
|
|||||||
log.exception("Error upgrading tag-only entry to a commit/compare diff")
|
log.exception("Error upgrading tag-only entry to a commit/compare diff")
|
||||||
|
|
||||||
#Make sure repo is set in some way:
|
#Make sure repo is set in some way:
|
||||||
if ! repo:
|
if not repo:
|
||||||
repo = ''
|
repo = ''
|
||||||
# Clean author & title; extract commit message
|
# Clean author & title; extract commit message
|
||||||
author = clean_author(author_raw)
|
author = clean_author(author_raw)
|
||||||
|
|||||||
Reference in New Issue
Block a user