From: Christian Hofstaedtler Date: Thu, 2 Dec 2010 17:34:12 +0000 (+0100) Subject: fix crash with --mode X-Git-Tag: v0.6.2~4 X-Git-Url: http://git.grml.org/?p=grml-x.git;a=commitdiff_plain;h=82e874ef2c1216599f951526527bd27ac9a344e5;hp=296efbec440db9de7cd17e1af66b5aa52e1539c4 fix crash with --mode --- diff --git a/grml-x b/grml-x index 995b4c4..9944737 100755 --- a/grml-x +++ b/grml-x @@ -24,6 +24,8 @@ class Section(object): v = self.data[k] if isinstance(v, list): v = '" "'.join(v) + elif not isinstance(v, basestring): # int, others + v = str(v) elif '-' in v: # sync range pass else: