mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 15:05:44 +01:00
call pending lambda if available
This commit is contained in:
@@ -42,7 +42,9 @@ baseUrl = "${url}"
|
||||
challenge = "${challenge}"
|
||||
credentials = os.environ['SCM_CREDENTIALS']
|
||||
|
||||
def callback(ui, repo, hooktype, node=None, source=None, **kwargs):
|
||||
def callback(ui, repo, hooktype, node=None, source=None, pending=None, **kwargs):
|
||||
if pending != None:
|
||||
pending()
|
||||
failure = True
|
||||
if node != None:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user