mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-09 12:10:31 -07:00
fixes sanity check issues in sdkmanager
This commit is contained in:
parent
20eb1aa7cb
commit
3358ac91e9
1 changed files with 1 additions and 4 deletions
|
@ -1,4 +1,3 @@
|
|||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright (c) 2024, Stanislav Shamilov <shamilovstas@protonmail.com>
|
||||
|
@ -121,9 +120,7 @@ class AndroidSdkManager(object):
|
|||
raise SdkManagerException("Licenses for some packages were not accepted")
|
||||
|
||||
if rc != 0:
|
||||
err = self._try_parse_stderr(stderr)
|
||||
if err:
|
||||
raise err
|
||||
self._try_parse_stderr(stderr)
|
||||
return rc, stdout, stderr
|
||||
|
||||
def _try_parse_stderr(self, stderr):
|
||||
|
|
Loading…
Add table
Reference in a new issue