We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d1c8309 + b3099f7 commit 7034177Copy full SHA for 7034177
1 file changed
ifupdown2/ifupdown/iface.py
@@ -320,7 +320,7 @@ def default(self, o):
320
status_str = ifaceStatusUserStrs.UNKNOWN
321
vitem_status.append('%s' %status_str)
322
idx += 1
323
- retconfig[k] = v[0] if len(v) == 1 else v
+ retconfig[k] = str(v[0] if len(v) == 1 else v)
324
retconfig_status[k] = vitem_status[0] if len(vitem_status) == 1 else vitem_status
325
326
if (o.status == ifaceStatus.NOTFOUND or
0 commit comments