From d973200d3f3f696c30f81b0cc884ed46a93c3f11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Gr=C3=A4tz?= Date: Thu, 24 Oct 2019 15:26:50 +0200 Subject: [PATCH 1/2] fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6205ccc..8673952 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ the "netplan.config.NetPlan" class (also exported as "netplan.NetPlan"). p = netplan.Parser() data = p.parse() for iface, cfg in data.items(): - print('{section}/{name}'.format(section=cfg.section, name=iface) + print('{section}/{name}'.format(section=cfg.section, name=iface)) p = netplan.Parser() data = p.parse(exclude=['set-mtu.yaml']) From c75bfcbf5e9cd52118f0d1f28ebde42232e2427f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Gr=C3=A4tz?= Date: Mon, 4 Nov 2019 12:13:33 +0100 Subject: [PATCH 2/2] add import --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 8673952..7d61c5b 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ the "netplan.config.NetPlan" class (also exported as "netplan.NetPlan"). ## Example usage import netplan + import yaml p = netplan.Parser() data = p.parse()