projects
/
grml-x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
296efbe
)
fix crash with --mode
author
Christian Hofstaedtler
<ch@grml.org>
Thu, 2 Dec 2010 17:34:12 +0000
(18:34 +0100)
committer
Christian Hofstaedtler
<ch@grml.org>
Thu, 2 Dec 2010 17:34:12 +0000
(18:34 +0100)
grml-x
patch
|
blob
|
history
diff --git
a/grml-x
b/grml-x
index
995b4c4
..
9944737
100755
(executable)
--- a/
grml-x
+++ b/
grml-x
@@
-24,6
+24,8
@@
class Section(object):
v = self.data[k]
if isinstance(v, list):
v = '" "'.join(v)
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:
elif '-' in v: # sync range
pass
else: