6afd92eabc
Since 'get_repo_dict' does much more than just querying available repositories, this patch makes it private. The same data is now available via the 'repo_dict' property. This also means that 'get_repos' is now faster, because it accesses cached data, instead of calling 'get_repo_dict' that generates this data. This patch also allows 'get_repos' and 'repo_dict' to be used even in the 'Repo' class. 'get_repo_dict' creates new 'Repo' instances and thus invalidates the current instance. This patch is in preparation of the 'patch support'-feature, that depends on this patch. Signed-off-by: Claudius Heine <ch@denx.de>