summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Packages/Source.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-03-25 11:39:50 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-03-25 11:39:50 -0400
commit70cc6bb182245d20c54afba79a265ef40f1ed080 (patch)
tree1d7c55357a0e8d10ac82d402f9965dc806c9705c /src/lib/Bcfg2/Server/Plugins/Packages/Source.py
parent432f448983ff27452d82d62314d91c942f31bce5 (diff)
downloadbcfg2-70cc6bb182245d20c54afba79a265ef40f1ed080.tar.gz
bcfg2-70cc6bb182245d20c54afba79a265ef40f1ed080.tar.bz2
bcfg2-70cc6bb182245d20c54afba79a265ef40f1ed080.zip
Revert "Packages: properly implemented deepcopy() for PackagesSources objects"
This reverts commit 432f448983ff27452d82d62314d91c942f31bce5.
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/Packages/Source.py')
-rw-r--r--src/lib/Bcfg2/Server/Plugins/Packages/Source.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Packages/Source.py b/src/lib/Bcfg2/Server/Plugins/Packages/Source.py
index 40c1f6676..985405e65 100644
--- a/src/lib/Bcfg2/Server/Plugins/Packages/Source.py
+++ b/src/lib/Bcfg2/Server/Plugins/Packages/Source.py
@@ -92,8 +92,7 @@ class SourceInitError(Exception):
REPO_RE = re.compile(r'(?:pulp/repos/|/RPMS\.|/)([^/]+)/?$')
-class Source(Bcfg2.Server.Plugin.Debuggable, # pylint: disable=R0902
- Bcfg2.Server.Plugin.DeepcopyMixin):
+class Source(Bcfg2.Server.Plugin.Debuggable): # pylint: disable=R0902
""" ``Source`` objects represent a single <Source> tag in
``sources.xml``. Note that a single Source tag can itself
describe multiple repositories (if it uses the "url" attribute
@@ -129,7 +128,6 @@ class Source(Bcfg2.Server.Plugin.Debuggable, # pylint: disable=R0902
:raises: :class:`Bcfg2.Server.Plugins.Packages.Source.SourceInitError`
"""
Bcfg2.Server.Plugin.Debuggable.__init__(self)
- Bcfg2.Server.Plugin.DeepcopyMixin.__init__(self)
#: The base filesystem path under which cache data for this
#: source should be stored
@@ -740,6 +738,3 @@ class Source(Bcfg2.Server.Plugin.Debuggable, # pylint: disable=R0902
if group in metadata.groups:
return True
return False
-
- def _deepcopy_constructor_args(self):
- return (self.basepath, self.xsource, dict(self.setup))