summaryrefslogtreecommitdiff
path: root/branding/scripts
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-09-08 19:56:40 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-09-08 20:10:20 +0200
commit0a45a565319fb3b740e761cf68bce87885589a4f (patch)
tree6bc334452f617cd8dd26ffb7e57ce07b965098a4 /branding/scripts
parent10b8c5e0a3fe882d34474f80571172e089fc4df1 (diff)
[refactor] delete unused function
Diffstat (limited to 'branding/scripts')
-rw-r--r--branding/scripts/gen-providers-json.py8
1 files changed, 0 insertions, 8 deletions
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!")