diff options
author | Rob Austein <sra@hactrn.net> | 2016-04-28 01:25:09 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-04-28 01:25:09 +0000 |
commit | fe2f853e7bec8d6966b6f8ee59c177c4606a30da (patch) | |
tree | caa3806c01471b2bbfbe0ab2ae26b892c88aa82d /potpourri/ca-unpickle.py | |
parent | bdc3a6ef48a3ebbd44b4f51d274a21b24aac8eb9 (diff) |
Pull ca-{pickle,unpickle}.py updates from trunk/.
svn path=/branches/tk705/; revision=6398
Diffstat (limited to 'potpourri/ca-unpickle.py')
-rwxr-xr-x | potpourri/ca-unpickle.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/potpourri/ca-unpickle.py b/potpourri/ca-unpickle.py index dbbe3e8a..5f255d8f 100755 --- a/potpourri/ca-unpickle.py +++ b/potpourri/ca-unpickle.py @@ -20,7 +20,7 @@ args = parser.parse_args() xzcat = subprocess.Popen(("xzcat", args.input), stdout = subprocess.PIPE) world = cPickle.load(xzcat.stdout) if xzcat.wait() != 0: - sys.exit("XZ unpickling failed with code {}".format(xz.returncode)) + sys.exit("XZ unpickling failed with code {}".format(xzcat.returncode)) print "import datetime" print "world =", repr(world) |