--- pyanaconda/xklavier.py | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/pyanaconda/xklavier.py b/pyanaconda/xklavier.py index da95794..4631e0a 100755 --- a/pyanaconda/xklavier.py +++ b/pyanaconda/xklavier.py @@ -224,7 +224,9 @@ class XklWrapper(object): layouts_variants = zip(self._rec.layouts, self._rec.variants) if not (layout, variant) in layouts_variants: - raise XklWrapperError("'%s (%s)' not in the list of added layouts") + msg = "'%s (%s)' not in the list of added layouts" % (layout, + variant) + raise XklWrapperError(msg) idx = layouts_variants.index((layout, variant)) new_layouts = self._rec.layouts[:idx] + self._rec.layouts[(idx + 1):] -- 1.7.4.4 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list