diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-07-17 14:45:50 +0200 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-07-17 14:45:50 +0200 |
commit | c219963aded1f3368f02f209b3d0ecd7b0c8d4a2 (patch) | |
tree | 79d761b772839ab227cc80998b3de40b44812981 | |
parent | db9391236bee0a2cd4f807192eea046393967aff (diff) | |
download | deployment-c219963aded1f3368f02f209b3d0ecd7b0c8d4a2.tar.gz deployment-c219963aded1f3368f02f209b3d0ecd7b0c8d4a2.tar.bz2 deployment-c219963aded1f3368f02f209b3d0ecd7b0c8d4a2.zip |
no hyphens in var names
-rwxr-xr-x | config/generate-config | 8 |
1 files changed, 4 insertions, 4 deletions
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 |