summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-04-27 16:06:09 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-04-27 16:06:09 +0200
commiteb67e49a80b1d440f78a26c06a0cceadd2e70d64 (patch)
tree4997109ba494217988d4780c3254adeb660eaa9d
parent92aa812717047d65c507d2627aad145d432f9c05 (diff)
downloaddeployment-eb67e49a80b1d440f78a26c06a0cceadd2e70d64.tar.gz
deployment-eb67e49a80b1d440f78a26c06a0cceadd2e70d64.tar.bz2
deployment-eb67e49a80b1d440f78a26c06a0cceadd2e70d64.zip
remove dead code
-rwxr-xr-xconfig/generate-config4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/generate-config b/config/generate-config
index be9de02..cef07d1 100755
--- 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)