From 0a45a565319fb3b740e761cf68bce87885589a4f Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Tue, 8 Sep 2020 19:56:40 +0200 Subject: [refactor] delete unused function --- branding/scripts/gen-providers-json.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'branding') diff --git a/branding/scripts/gen-providers-json.py b/branding/scripts/gen-providers-json.py index 8e1c10b..beef3fe 100644 --- a/branding/scripts/gen-providers-json.py +++ b/branding/scripts/gen-providers-json.py @@ -40,14 +40,6 @@ def addCaData(data, configfile): with open(caFile) as ca: data['caCertString'] = ca.read().strip() -def writeOutput(data, infile, outfile): - - with open(infile) as infile: - s = Template(infile.read()) - - with open(outfile, 'w') as outf: - outf.write(s.substitute(data)) - def bail(msg=None): if not msg: print("ERROR: not enough arguments!") -- cgit v1.2.3