From eced8be2a5f5f98929e6f783c9a92b9081a75b2f Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Fri, 15 Jan 2016 10:18:10 +0100 Subject: [PATCH] When prettify add new line at the end of the file. This avoid trouble with most text editors. --- appliances/alpine-linux.gns3a | 2 +- appliances/arista-veos.gns3a | 2 +- appliances/bird.gns3a | 2 +- appliances/checkpoint-gaia.gns3a | 2 +- appliances/cisco-1700.gns3a | 2 +- appliances/cisco-2600.gns3a | 2 +- appliances/cisco-2691.gns3a | 2 +- appliances/cisco-3620.gns3a | 2 +- appliances/cisco-3640.gns3a | 2 +- appliances/cisco-3660.gns3a | 2 +- appliances/cisco-3725.gns3a | 2 +- appliances/cisco-3745.gns3a | 2 +- appliances/cisco-7200.gns3a | 2 +- appliances/cisco-asa.gns3a | 2 +- appliances/cisco-asav.gns3a | 2 +- appliances/cisco-csr1000v.gns3a | 2 +- appliances/cisco-iosv.gns3a | 2 +- appliances/cisco-iosvl2.gns3a | 2 +- appliances/cisco-iosxrv.gns3a | 2 +- appliances/cisco-iou-l2.gns3a | 2 +- appliances/cisco-iou-l3.gns3a | 2 +- appliances/cisco-nxosv.gns3a | 2 +- appliances/cumulus-vx.gns3a | 2 +- appliances/firefox.gns3a | 2 +- appliances/hp-vsr1001.gns3a | 2 +- appliances/internet.gns3a | 2 +- appliances/juniper-vsrx.gns3a | 2 +- appliances/kali-linux.gns3a | 2 +- appliances/microcore-linux.gns3a | 2 +- appliances/microsoft-windows+ie.gns3a | 2 +- appliances/mikrotik-chr.gns3a | 2 +- appliances/netem.gns3a | 2 +- appliances/openbsd.gns3a | 2 +- appliances/openvswitch.gns3a | 2 +- appliances/openwrt-realview.gns3a | 2 +- appliances/openwrt.gns3a | 2 +- appliances/ostinato.gns3a | 2 +- appliances/tinycore-linux.gns3a | 2 +- appliances/vrin.gns3a | 2 +- appliances/vyos.gns3a | 2 +- prettify_appliances.py | 1 + 41 files changed, 41 insertions(+), 40 deletions(-) diff --git a/appliances/alpine-linux.gns3a b/appliances/alpine-linux.gns3a index d75fbf2..7f30185 100644 --- a/appliances/alpine-linux.gns3a +++ b/appliances/alpine-linux.gns3a @@ -37,4 +37,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/arista-veos.gns3a b/appliances/arista-veos.gns3a index e509000..b090329 100644 --- a/appliances/arista-veos.gns3a +++ b/appliances/arista-veos.gns3a @@ -44,4 +44,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/bird.gns3a b/appliances/bird.gns3a index 9a7e33c..03a6f04 100644 --- a/appliances/bird.gns3a +++ b/appliances/bird.gns3a @@ -36,4 +36,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/checkpoint-gaia.gns3a b/appliances/checkpoint-gaia.gns3a index 3d20047..cd93f0f 100644 --- a/appliances/checkpoint-gaia.gns3a +++ b/appliances/checkpoint-gaia.gns3a @@ -46,4 +46,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/cisco-1700.gns3a b/appliances/cisco-1700.gns3a index 85a28c5..3022724 100644 --- a/appliances/cisco-1700.gns3a +++ b/appliances/cisco-1700.gns3a @@ -35,4 +35,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/cisco-2600.gns3a b/appliances/cisco-2600.gns3a index 388f48d..e37e3e2 100644 --- a/appliances/cisco-2600.gns3a +++ b/appliances/cisco-2600.gns3a @@ -34,4 +34,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/cisco-2691.gns3a b/appliances/cisco-2691.gns3a index 0d0f77d..ac9ca3d 100644 --- a/appliances/cisco-2691.gns3a +++ b/appliances/cisco-2691.gns3a @@ -34,4 +34,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/cisco-3620.gns3a b/appliances/cisco-3620.gns3a index 2732e99..a154b1c 100644 --- a/appliances/cisco-3620.gns3a +++ b/appliances/cisco-3620.gns3a @@ -34,4 +34,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/cisco-3640.gns3a b/appliances/cisco-3640.gns3a index 190c50c..cbeb9b0 100644 --- a/appliances/cisco-3640.gns3a +++ b/appliances/cisco-3640.gns3a @@ -34,4 +34,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/cisco-3660.gns3a b/appliances/cisco-3660.gns3a index 0f4f659..f0b55a6 100644 --- a/appliances/cisco-3660.gns3a +++ b/appliances/cisco-3660.gns3a @@ -34,4 +34,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/cisco-3725.gns3a b/appliances/cisco-3725.gns3a index 0f09603..4b0a0c4 100644 --- a/appliances/cisco-3725.gns3a +++ b/appliances/cisco-3725.gns3a @@ -34,4 +34,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/cisco-3745.gns3a b/appliances/cisco-3745.gns3a index 34a4983..2943aba 100644 --- a/appliances/cisco-3745.gns3a +++ b/appliances/cisco-3745.gns3a @@ -42,4 +42,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/cisco-7200.gns3a b/appliances/cisco-7200.gns3a index 37e7365..15528aa 100644 --- a/appliances/cisco-7200.gns3a +++ b/appliances/cisco-7200.gns3a @@ -34,4 +34,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/cisco-asa.gns3a b/appliances/cisco-asa.gns3a index f374d69..0b6a5d7 100644 --- a/appliances/cisco-asa.gns3a +++ b/appliances/cisco-asa.gns3a @@ -80,4 +80,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/cisco-asav.gns3a b/appliances/cisco-asav.gns3a index af71ab7..b44fca4 100644 --- a/appliances/cisco-asav.gns3a +++ b/appliances/cisco-asav.gns3a @@ -78,4 +78,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/cisco-csr1000v.gns3a b/appliances/cisco-csr1000v.gns3a index d1d9223..f68ee3b 100644 --- a/appliances/cisco-csr1000v.gns3a +++ b/appliances/cisco-csr1000v.gns3a @@ -37,4 +37,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/cisco-iosv.gns3a b/appliances/cisco-iosv.gns3a index fa9a8b1..5c3fc02 100644 --- a/appliances/cisco-iosv.gns3a +++ b/appliances/cisco-iosv.gns3a @@ -36,4 +36,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/cisco-iosvl2.gns3a b/appliances/cisco-iosvl2.gns3a index 14a9a84..0965818 100644 --- a/appliances/cisco-iosvl2.gns3a +++ b/appliances/cisco-iosvl2.gns3a @@ -37,4 +37,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/cisco-iosxrv.gns3a b/appliances/cisco-iosxrv.gns3a index 56a55cc..128f42e 100644 --- a/appliances/cisco-iosxrv.gns3a +++ b/appliances/cisco-iosxrv.gns3a @@ -38,4 +38,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/cisco-iou-l2.gns3a b/appliances/cisco-iou-l2.gns3a index 16a82a3..3d3f9cd 100644 --- a/appliances/cisco-iou-l2.gns3a +++ b/appliances/cisco-iou-l2.gns3a @@ -44,4 +44,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/cisco-iou-l3.gns3a b/appliances/cisco-iou-l3.gns3a index df27511..4c6ba45 100644 --- a/appliances/cisco-iou-l3.gns3a +++ b/appliances/cisco-iou-l3.gns3a @@ -44,4 +44,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/cisco-nxosv.gns3a b/appliances/cisco-nxosv.gns3a index 2623722..c43e65b 100644 --- a/appliances/cisco-nxosv.gns3a +++ b/appliances/cisco-nxosv.gns3a @@ -37,4 +37,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/cumulus-vx.gns3a b/appliances/cumulus-vx.gns3a index 070e279..8b873db 100644 --- a/appliances/cumulus-vx.gns3a +++ b/appliances/cumulus-vx.gns3a @@ -51,4 +51,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/firefox.gns3a b/appliances/firefox.gns3a index d0ccefa..cf0b563 100644 --- a/appliances/firefox.gns3a +++ b/appliances/firefox.gns3a @@ -37,4 +37,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/hp-vsr1001.gns3a b/appliances/hp-vsr1001.gns3a index 77f0c8e..08cb0a7 100644 --- a/appliances/hp-vsr1001.gns3a +++ b/appliances/hp-vsr1001.gns3a @@ -46,4 +46,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/internet.gns3a b/appliances/internet.gns3a index a5a98b3..0e5c0e4 100644 --- a/appliances/internet.gns3a +++ b/appliances/internet.gns3a @@ -38,4 +38,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/juniper-vsrx.gns3a b/appliances/juniper-vsrx.gns3a index da9eade..5379344 100644 --- a/appliances/juniper-vsrx.gns3a +++ b/appliances/juniper-vsrx.gns3a @@ -51,4 +51,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/kali-linux.gns3a b/appliances/kali-linux.gns3a index 0125bc5..91fdfe4 100644 --- a/appliances/kali-linux.gns3a +++ b/appliances/kali-linux.gns3a @@ -36,4 +36,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/microcore-linux.gns3a b/appliances/microcore-linux.gns3a index c1b7b66..172fbeb 100644 --- a/appliances/microcore-linux.gns3a +++ b/appliances/microcore-linux.gns3a @@ -66,4 +66,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/microsoft-windows+ie.gns3a b/appliances/microsoft-windows+ie.gns3a index 93f9172..2e80918 100644 --- a/appliances/microsoft-windows+ie.gns3a +++ b/appliances/microsoft-windows+ie.gns3a @@ -34,4 +34,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/mikrotik-chr.gns3a b/appliances/mikrotik-chr.gns3a index eb7cf67..d5d82b0 100644 --- a/appliances/mikrotik-chr.gns3a +++ b/appliances/mikrotik-chr.gns3a @@ -107,4 +107,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/netem.gns3a b/appliances/netem.gns3a index aa94212..d4a8e4d 100644 --- a/appliances/netem.gns3a +++ b/appliances/netem.gns3a @@ -38,4 +38,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/openbsd.gns3a b/appliances/openbsd.gns3a index 4ea4082..064a762 100644 --- a/appliances/openbsd.gns3a +++ b/appliances/openbsd.gns3a @@ -38,4 +38,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/openvswitch.gns3a b/appliances/openvswitch.gns3a index 0eba90a..01f8413 100644 --- a/appliances/openvswitch.gns3a +++ b/appliances/openvswitch.gns3a @@ -35,4 +35,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/openwrt-realview.gns3a b/appliances/openwrt-realview.gns3a index 7139ee4..dc31d1d 100644 --- a/appliances/openwrt-realview.gns3a +++ b/appliances/openwrt-realview.gns3a @@ -37,4 +37,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/openwrt.gns3a b/appliances/openwrt.gns3a index d721ca4..204cb24 100644 --- a/appliances/openwrt.gns3a +++ b/appliances/openwrt.gns3a @@ -38,4 +38,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/ostinato.gns3a b/appliances/ostinato.gns3a index 8f9a8fb..797bbe6 100644 --- a/appliances/ostinato.gns3a +++ b/appliances/ostinato.gns3a @@ -40,4 +40,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/tinycore-linux.gns3a b/appliances/tinycore-linux.gns3a index b683a1d..5514170 100644 --- a/appliances/tinycore-linux.gns3a +++ b/appliances/tinycore-linux.gns3a @@ -38,4 +38,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/vrin.gns3a b/appliances/vrin.gns3a index 826eb61..fc69dee 100644 --- a/appliances/vrin.gns3a +++ b/appliances/vrin.gns3a @@ -51,4 +51,4 @@ } } ] -} \ No newline at end of file +} diff --git a/appliances/vyos.gns3a b/appliances/vyos.gns3a index 55959c5..71172ea 100644 --- a/appliances/vyos.gns3a +++ b/appliances/vyos.gns3a @@ -64,4 +64,4 @@ } } ] -} \ No newline at end of file +} diff --git a/prettify_appliances.py b/prettify_appliances.py index 6b99b92..3df1e18 100644 --- a/prettify_appliances.py +++ b/prettify_appliances.py @@ -65,4 +65,5 @@ for appliance in glob.glob('appliances/*.gns3a'): # Save with open(appliance, 'w') as f: json.dump(config, f,indent=4) + f.write("\n")