[cip-dev] [cip-kernel-sec 2/2] remotes: call _get_configured_remotes

Daniel Sangorrin
2019-06-17T02:20:39Z

This is probably a copy&paste mistake that had no effect
because the contents of _get_configured_remotes and
_get_configured_branches is the same.

Signed-off-by: Daniel Sangorrin <daniel.sangorrin@toshiba.co.jp>
---
scripts/kernel_sec/branch.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/kernel_sec/branch.py b/scripts/kernel_sec/branch.py
index ae1ca2c..3ede64a 100644
--- a/scripts/kernel_sec/branch.py
+++ b/scripts/kernel_sec/branch.py
@@ -209,7 +209,7 @@ def get_remotes(mappings, mainline=None, stable=None):
remotes = RemoteMap()
remotes.update(_get_configured_remotes('conf/remotes.yml'))
remotes.update(
- _get_configured_branches(
+ _get_configured_remotes(
os.path.expanduser('~/.config/kernel-sec/remotes.yml')))
for mapping in mappings:
left, right = arg.split(':', 1)
--
2.17.1