From 3969f5dfa5e71b64cb0522c22c065bf0858dc1f0 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 30 Jan 2021 10:31:11 +0200 Subject: refactor: drop now-unused function to creaste file --- subplot/ewww.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/subplot/ewww.py b/subplot/ewww.py index 6c93733..f1e02e3 100644 --- a/subplot/ewww.py +++ b/subplot/ewww.py @@ -47,14 +47,6 @@ def create_directory(ctx, dirname=None): os.makedirs(dirname) -# Create a file. -def create_file(ctx, filename=None, content=None): - logging.debug(f"Creating file {filename} with {content}") - dirname = os.path.dirname(filename) - os.makedirs(dirname) - _write(filename, content) - - # Copy test certificate from source tree, where it's been created previously by # ./check. def copy_test_certificate(ctx, cert=None, key=None): -- cgit v1.2.1