conf: method for getting combined cmdline/conffile options
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 7 Feb 2014 12:27:47 +0000 (14:27 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 11 Feb 2014 08:32:27 +0000 (10:32 +0200)
commit56186c2933cd507f6c31659f9ae4ee1fb4a83a0e
tree85d24ff5e2eb600c3fa05d9193447fbbcb434ce4
parent3b08ff7d7cc7b403402d7872fe4ab805b169e103
conf: method for getting combined cmdline/conffile options

Add a new method for getting options which the user can give through
command line options and/or in config file(s). Command line option will
take precedence over what is configured in config file(s).

Removes a lot of duplicate code.

Change-Id: I06f5b1b6c231829ca490553025c2e4e81aa0abe2
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gitbuildsys/cmd_clone.py
gitbuildsys/cmd_export.py
gitbuildsys/cmd_import.py
gitbuildsys/cmd_pull.py
gitbuildsys/conf.py