dlist = dlist[0]
return dlist
+ def __setitem__(self, key, value):
+ self._dict[key] = value
+
+ def __getitem__(self, key):
+ return self._dict[key]
+
+ def __delitem__(self, key):
+ del self._dict[key]
+
def Command(self, target, source, action):
"""Builds the supplied target files from the supplied
source files using the supplied action. Action may
assert env.Dictionary().has_key('CCFLAGS')
assert env.Dictionary().has_key('ENV')
+ assert env['XXX'] == 'x'
+ env['XXX'] = 'foo'
+ assert env.Dictionary('XXX') == 'foo'
+ del env['XXX']
+ assert not env.Dictionary().has_key('XXX')
+
def test_ENV(self):
"""Test setting the external ENV in Environments
"""