From 0ea559156735ea9112ba4632e56e84c3d6264836 Mon Sep 17 00:00:00 2001 From: astokes Date: Thu, 22 Apr 2010 19:20:33 +0000 Subject: update veritas plugin to pull in tarball if exists git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@939 ef72aa8b-4018-0410-8976-d6e080ef94d8 --- sos/plugins/veritas.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sos/plugins/veritas.py b/sos/plugins/veritas.py index f2d610f7..bb570294 100644 --- a/sos/plugins/veritas.py +++ b/sos/plugins/veritas.py @@ -34,6 +34,7 @@ class veritas(sos.plugintools.PluginBase): for line in out.readlines(): line = line.strip() tarfile = self.doRegexFindAll(r"ftp (.*tar.gz)", line) - self.addCopySpec(tarfile) + if len(tarfile) == 1: + self.addCopySpec(tarfile[0]) return -- cgit