Fix checkout logic.

This commit is contained in:
sfigato 2019-08-01 16:33:25 +02:00 committed by blallo
parent 49f5f41d30
commit eaa3b9ba6f
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F

View File

@ -76,7 +76,7 @@ async def checkout(op: AsyncOperator) -> bool:
await op.checkout() await op.checkout()
except OperationFailed: except OperationFailed:
pass pass
return not op.checked_in return op.checked_in
async def status(op: AsyncOperator) -> T.List[T.Optional[T.Tuple[T.Text, T.Text]]]: async def status(op: AsyncOperator) -> T.List[T.Optional[T.Tuple[T.Text, T.Text]]]: