summaryrefslogtreecommitdiff
path: root/cloudinit/net/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/net/__init__.py')
-rw-r--r--cloudinit/net/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/net/__init__.py b/cloudinit/net/__init__.py
index ad44911b..ba0e39ae 100644
--- a/cloudinit/net/__init__.py
+++ b/cloudinit/net/__init__.py
@@ -49,8 +49,8 @@ DEFAULT_PRIMARY_INTERFACE = 'eth0'
# whole module can be easily extracted and placed into other
# code-bases (curtin for example).
+
def write_file(path, content):
- """Simple writing a file helper."""
base_path = os.path.dirname(path)
if not os.path.isdir(base_path):
os.makedirs(base_path)