ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/build_utils/load_plat.py
(Generate patch)

Comparing ray/build_utils/load_plat.py (file contents):
Revision 1.12 by schorsch, Tue Dec 23 15:03:59 2008 UTC vs.
Revision 1.13 by schorsch, Sat Mar 5 00:40:25 2016 UTC

# Line 8 | Line 8 | _platdir = 'platform'
8  
9  
10   def read_plat(env, args, fn):
11 <        cfig = ConfigParser.ConfigParser(env.Dictionary())
11 >        envdict = env.Dictionary().copy()
12 >        # can't feed ConfigParser the original dict, because it also
13 >        # contains non-string values.
14 >        for k,v in envdict.items():
15 >                if not isinstance(v, str):
16 >                        del envdict[k]
17 >        cfig = ConfigParser.ConfigParser(envdict)
18          cfig.read(fn)
19          buildvars = [['CC',
20                          'TIFFINCLUDE', # where to find preinstalled tifflib headers

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines