mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Remove the deep copy and use a shallow copy so it worked on Python 2.6.
This commit is contained in:
parent
3760113682
commit
54993543d7
@ -607,7 +607,7 @@ def load(args, optargs = None):
|
|||||||
command line.
|
command line.
|
||||||
"""
|
"""
|
||||||
import copy
|
import copy
|
||||||
d = copy.deepcopy(defaults)
|
d = copy.copy(defaults)
|
||||||
overrides = None
|
overrides = None
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
import windows
|
import windows
|
||||||
|
@ -308,8 +308,8 @@ class report:
|
|||||||
def buildset(self, name):
|
def buildset(self, name):
|
||||||
self.bset_nesting += 1
|
self.bset_nesting += 1
|
||||||
self.buildset_start(name)
|
self.buildset_start(name)
|
||||||
_opts = copy.deepcopy(self.opts)
|
_opts = copy.copy(self.opts)
|
||||||
_defaults = copy.deepcopy(self.defaults)
|
_defaults = copy.copy(self.defaults)
|
||||||
bset = setbuilder.buildset(name,
|
bset = setbuilder.buildset(name,
|
||||||
_configs = self.configs,
|
_configs = self.configs,
|
||||||
_defaults = _defaults,
|
_defaults = _defaults,
|
||||||
|
@ -283,8 +283,8 @@ class buildset:
|
|||||||
# defaults so we do not contaminate one configuration with
|
# defaults so we do not contaminate one configuration with
|
||||||
# another.
|
# another.
|
||||||
#
|
#
|
||||||
_opts = copy.deepcopy(self.opts)
|
_opts = copy.copy(self.opts)
|
||||||
_defaults = copy.deepcopy(self.defaults)
|
_defaults = copy.copy(self.defaults)
|
||||||
if configs[s].endswith('.bset'):
|
if configs[s].endswith('.bset'):
|
||||||
bs = buildset(configs[s],
|
bs = buildset(configs[s],
|
||||||
_configs = self.configs,
|
_configs = self.configs,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user