From c219963aded1f3368f02f209b3d0ecd7b0c8d4a2 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Mon, 17 Jul 2017 14:45:50 +0200 Subject: no hyphens in var names --- config/generate-config | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'config/generate-config') diff --git a/config/generate-config b/config/generate-config index ff37f75..b919121 100755 --- a/config/generate-config +++ b/config/generate-config @@ -216,7 +216,7 @@ def exchange_wf(envname, wfname, acct_no, name, standalone): @click.option("--shared-outdir", default=None) @click.option("--standalone", default=None, help="Enable a standalone/env deployment instead of test/demo") @click.option("--exchange-pub", required=True) -def main(currency, envname, outdir, shared-outdir, exchange_pub, standalone): +def main(currency, envname, outdir, shared_outdir, exchange_pub, standalone): if not standalone: if envname not in ("demo", "test"): @@ -253,15 +253,15 @@ def main(currency, envname, outdir, shared-outdir, exchange_pub, standalone): else: cfg_write(sys.stdout) - if shared-outdir: - d = os.path.join(shared-outdir, "merchant", "wire") + if shared_outdir: + d = os.path.join(shared_outdir, "merchant", "wire") os.makedirs(d, exist_ok=True) for name, data in merchant_wireformats: f = open(os.path.join(d, name+".json"), "w") f.write(data) f.close() - d = os.path.join(shared-outdir, "exchange", "wire") + d = os.path.join(shared_outdir, "exchange", "wire") os.makedirs(d, exist_ok=True) for name, data in exchange_wireformats: # These files must be signed by the exchange in -- cgit v1.2.3