Python 2.2 portability: no dictionary pop() method.
authorstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Wed, 1 Oct 2008 14:58:22 +0000 (14:58 +0000)
committerstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Wed, 1 Oct 2008 14:58:22 +0000 (14:58 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3527 fdb21ef1-2011-0410-befe-b5e4ea1792b1

src/engine/SCons/Tool/dvipdf.py

index 05c92511683462311f3824d7ea2bf12c4a400351..642b6ac7acb7b29c9bef51850bd706225c7ee95d 100644 (file)
@@ -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: