commit eb67e49a80b1d440f78a26c06a0cceadd2e70d64
parent 92aa812717047d65c507d2627aad145d432f9c05
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Fri, 27 Apr 2018 16:06:09 +0200
remove dead code
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/config/generate-config b/config/generate-config
@@ -255,7 +255,7 @@ def merchant_wf(envname, acct_no, standalone):
salt="SALT"
)
- return (instance_name, json.dumps(data, indent=2))
+ return json.dumps(data, indent=2)
def exchange_wf(envname, wfname, acct_no, name, standalone):
if standalone:
@@ -317,7 +317,7 @@ def main(currency, envname, outdir, shared_outdir, exchange_pub, standalone):
d = os.path.join(shared_outdir, "merchant", "wire")
os.makedirs(d, exist_ok=True)
- for name, data in merchant_wireformats:
+ for data in merchant_wireformats:
filename = os.path.join(d, "merchant.json")
f = open(filename, "w")
f.write(data)