Revision 4884f187 lib/config.py
b/lib/config.py | ||
---|---|---|
2488 | 2488 |
if destination is None: |
2489 | 2489 |
destination = self._cfg_file |
2490 | 2490 |
self._BumpSerialNo() |
2491 |
txt = serializer.Dump(self._config_data.ToDict()) |
|
2491 |
txt = serializer.DumpJson( |
|
2492 |
self._config_data.ToDict(_with_private=True), |
|
2493 |
private_encoder=serializer.EncodeWithPrivateFields |
|
2494 |
) |
|
2492 | 2495 |
|
2493 | 2496 |
getents = self._getents() |
2494 | 2497 |
try: |
Also available in: Unified diff