summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/Properties.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-01-13 11:52:25 -0500
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-01-13 11:52:25 -0500
commit6db7cd19b6ea4f9aea785e84c3c178fdc163ba08 (patch)
treefd4855dcd09926786ac095cbd7d8e7b1b5c87150 /src/lib/Server/Plugins/Properties.py
parent56292eaac58c78a7e89d3c264b13b348e5d65a8f (diff)
downloadbcfg2-6db7cd19b6ea4f9aea785e84c3c178fdc163ba08.tar.gz
bcfg2-6db7cd19b6ea4f9aea785e84c3c178fdc163ba08.tar.bz2
bcfg2-6db7cd19b6ea4f9aea785e84c3c178fdc163ba08.zip
cherry-picked a2cc392 Switch to shallow rather than deep copies to improve performance
Diffstat (limited to 'src/lib/Server/Plugins/Properties.py')
-rw-r--r--src/lib/Server/Plugins/Properties.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Properties.py b/src/lib/Server/Plugins/Properties.py
index 9b44942cd..76945b3a0 100644
--- a/src/lib/Server/Plugins/Properties.py
+++ b/src/lib/Server/Plugins/Properties.py
@@ -74,4 +74,4 @@ class Properties(Bcfg2.Server.Plugin.Plugin,
raise Bcfg2.Server.Plugin.PluginInitError
def get_additional_data(self, _):
- return copy.deepcopy(self.store.entries)
+ return copy.copy(self.store.entries)