[PATCH 07/37] lesser indent of json

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 targetcli/ui_root.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/targetcli/ui_root.py b/targetcli/ui_root.py
index 1f820b6..2dd5f8b 100644
--- a/targetcli/ui_root.py
+++ b/targetcli/ui_root.py
@@ -77,7 +77,7 @@ class UIRoot(UINode):
         self.assert_root()
 
         with open("/savecfg.json", "w+") as f:
-            f.write(json.dumps(RTSRoot().dump(), sort_keys=True, indent=4))
+            f.write(json.dumps(RTSRoot().dump(), sort_keys=True, indent=2))
 
     def ui_command_saveconfig(self):
         '''
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux