aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2016-12-13 11:10:26 +0100
committerBryn M. Reeves <bmr@redhat.com>2017-03-28 14:12:07 +0100
commit8db22c69a7a168a7e9611e81596068b3f6417bb6 (patch)
tree87c7af422f066b27b7283f37cccefd463def094c
parentd5731e11e291dcfe7f28d5bd87e0029ca9058cd8 (diff)
downloadsos-8db22c69a7a168a7e9611e81596068b3f6417bb6.tar.gz
[plugins] extend the signature of add_copy_spec() to match add_copy_spec_limit()
This is in preparation of converging to one add_copy_spec() function Signed-off-by: Michael Adam <obnox@samba.org>
-rw-r--r--sos/plugins/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py
index 6a89e463..7fe6d2fe 100644
--- a/sos/plugins/__init__.py
+++ b/sos/plugins/__init__.py
@@ -555,8 +555,8 @@ class Plugin(object):
self.name(), strfile)
self.archive.add_link(link_path, _file)
- def add_copy_spec(self, copyspecs):
- self.add_copy_spec_limit(copyspecs)
+ def add_copy_spec(self, copyspecs, sizelimit=None, tailit=True):
+ self.add_copy_spec_limit(copyspecs, sizelimit, tailit)
def get_command_output(self, prog, timeout=300, stderr=True,
chroot=True, runat=None, env=None):