mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
fix: [updater] return boolean
This commit is contained in:
parent
5a221cd996
commit
f9ebe26354
1 changed files with 5 additions and 1 deletions
|
@ -57,7 +57,11 @@ def repo_is_fork():
|
|||
return False
|
||||
elif 'origin {}'.format(OLD_AIL_REPO) in res:
|
||||
print(' old AIL repository, Updating remote origin...')
|
||||
git_status.set_default_remote(AIL_REPO, verbose=False)
|
||||
res = git_status.set_default_remote(AIL_REPO, verbose=False)
|
||||
if res:
|
||||
return False
|
||||
else:
|
||||
return True
|
||||
else:
|
||||
print(' This repository is a {}fork{}'.format(TERMINAL_BLUE, TERMINAL_DEFAULT))
|
||||
print()
|
||||
|
|
Loading…
Reference in a new issue