From fe2f853e7bec8d6966b6f8ee59c177c4606a30da Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Thu, 28 Apr 2016 01:25:09 +0000 Subject: Pull ca-{pickle,unpickle}.py updates from trunk/. svn path=/branches/tk705/; revision=6398 --- potpourri/ca-unpickle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'potpourri/ca-unpickle.py') 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) -- cgit v1.2.3