From 6d653fa768be99c67040cbe0898290be4fafe343 Mon Sep 17 00:00:00 2001 From: stevenknight Date: Wed, 1 Oct 2008 14:58:22 +0000 Subject: [PATCH] Python 2.2 portability: no dictionary pop() method. git-svn-id: http://scons.tigris.org/svn/scons/trunk@3527 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- src/engine/SCons/Tool/dvipdf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/SCons/Tool/dvipdf.py b/src/engine/SCons/Tool/dvipdf.py index 05c92511..642b6ac7 100644 --- a/src/engine/SCons/Tool/dvipdf.py +++ b/src/engine/SCons/Tool/dvipdf.py @@ -57,7 +57,7 @@ def DviPdfPsFunction(XXXDviAction, target = None, source= None, env=None): if saved_env['TEXPICTS'] is _null: try: - env['ENV'].pop('TEXPICTS') + del env['ENV']['TEXPICTS'] except KeyError: pass # was never set else: -- 2.26.2