Fill obsrepomaps when reading repos.yaml
authorEd Bartosh <eduard.bartosh@intel.com>
Fri, 28 Jun 2013 12:17:25 +0000 (15:17 +0300)
committerGerrit Code Review <gerrit2@otctools.jf.intel.com>
Mon, 1 Jul 2013 02:29:54 +0000 (19:29 -0700)
commit88040921ec92d3767211f3e89e8a603d681db8e7
tree7fd2eda0e6f967f5aab05f1af820738fdca8bc44
parent9898fd4fc479ca8104afe82b05a92234e3319f2c
Fill obsrepomaps when reading repos.yaml

obsrepomaps is a mapping between OBS project name and repo name from
repos.yaml. This change implements filling mappings while parsing
repo.yaml in BackendDb::read_repos()

Fixes: #1031

Change-Id: I01efb4b1717e5971a83a1984dc2e3245244977d5
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
common/backenddb.py
tests/test_backenddb.py