mirror of
https://github.com/morpheus65535/bazarr
synced 2025-01-31 03:12:12 +00:00
Better error management
This commit is contained in:
parent
6c5419716d
commit
9cd5a5d304
1 changed files with 2 additions and 1 deletions
|
@ -40,8 +40,9 @@ def check_and_apply_update(repo=local_repo, remote_name='origin'):
|
|||
user,
|
||||
'Merge!',
|
||||
tree,
|
||||
[repo.head.target, remote_master_id])
|
||||
[repo.head.target, remote_id])
|
||||
repo.state_cleanup()
|
||||
else:
|
||||
raise AssertionError('Unknown merge analysis result')
|
||||
|
||||
return result
|
||||
|
|
Loading…
Reference in a new issue