summaryrefslogtreecommitdiff
path: root/test/pacman/tests/fileconflict001.py
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2011-04-21 16:59:07 +0300
committerDan McGee <dan@archlinux.org>2011-04-21 12:10:31 -0500
commit908e9f41ed19685a7442acf629220e20b7c003a2 (patch)
treea2e1f387bf94562692ef0c3eb70249b0f83c5a61 /test/pacman/tests/fileconflict001.py
parentfdbcc9847d7e13b96328adb5f34932eea7ca6ba9 (diff)
pacman-key: improved reading of the configuration file
This commit replaces the find_config() function with the get_from() function. get_from expects two arguments, the first is the file to read and the second is the key to look for in the given file. get_from returns the first matching value for the given key. The file is expected to be in the format: key = value Each of 'key' 'equal sign' 'value' can be surrounded be random whitespace. Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'test/pacman/tests/fileconflict001.py')
0 files changed, 0 insertions, 0 deletions