diff options
author | Rob Austein <sra@hactrn.net> | 2016-04-28 19:00:16 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-04-28 19:00:16 +0000 |
commit | 31c6aa9789ba3dc0ab4196ac65b77e9be74e0157 (patch) | |
tree | fb8b415a1f9ded65f962aa7537c9a16a609e0e2e /potpourri/ca-pickle.py | |
parent | 91cbf856f28c6677d35eeb5ee42dd539bf93e171 (diff) |
Pull still more ca-pickle hacks from trunk/.
svn path=/branches/tk705/; revision=6402
Diffstat (limited to 'potpourri/ca-pickle.py')
-rwxr-xr-x | potpourri/ca-pickle.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/potpourri/ca-pickle.py b/potpourri/ca-pickle.py index 5b88f3f9..aefdade5 100755 --- a/potpourri/ca-pickle.py +++ b/potpourri/ca-pickle.py @@ -82,17 +82,17 @@ for filename in filenames: files[filename] = f.read() world = dict( - version = rpki.version.VERSION, - rpki_conf = filenames[0], - databases = databases, - files = files, - raw_config = raw_config, - cooked_config = cooked_config) + VERSION = rpki.version.VERSION, + RPKI_CONF = filenames[0], + db = databases, + file = files, + raw = raw_config, + cfg = cooked_config) xz = subprocess.Popen( ("xz", "-C", "sha256"), stdin = subprocess.PIPE, - stdout = os.open(args.output, os.O_WRONLY | os.O_CREAT, 0600)) + stdout = os.open(args.output, os.O_WRONLY | os.O_CREAT | os.O_TRUNC, 0600)) cPickle.dump(world, xz.stdin, args.protocol) |