From 9a140881be7860a9c88669d9f7c9a634f4c65412 Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bonicoli Date: Sun, 23 Mar 2014 03:35:10 +0100 Subject: [PATCH] Fix ValueError when selection contains a colon --- system/debconf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/debconf b/system/debconf index 244561973db..4ffefc8acec 100644 --- a/system/debconf +++ b/system/debconf @@ -96,7 +96,7 @@ def get_selections(module, pkg): selections = {} for line in out.splitlines(): - (key, value) = line.split(':') + (key, value) = line.split(':', 1) selections[ key.strip('*').strip() ] = value.strip() return selections