aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorastokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8>2010-04-22 19:20:33 +0000
committerastokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8>2010-04-22 19:20:33 +0000
commit0ea559156735ea9112ba4632e56e84c3d6264836 (patch)
treee3076f1d3e18a7eda396722125b57431d30ba46f
parentb97829653d226c7de94fcd7a61d0f4a4bbd847ee (diff)
downloadsos-0ea559156735ea9112ba4632e56e84c3d6264836.tar.gz
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
-rw-r--r--sos/plugins/veritas.py3
1 files changed, 2 insertions, 1 deletions
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