summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2013-10-23 14:05:39 +0200
committerMartin Kosek <mkosek@redhat.com>2013-10-30 12:14:42 +0100
commit227b3c7aaab3420f370daccd4f1da530a0b4fbc4 (patch)
treef4d6a40eef14a2231b749a338cb6fcaa79d286bc
parentb5fa402f0b9d246a50d6d114f375b91fbbeb88d4 (diff)
downloadfreeipa.git-227b3c7aaab3420f370daccd4f1da530a0b4fbc4.tar.gz
freeipa.git-227b3c7aaab3420f370daccd4f1da530a0b4fbc4.tar.xz
freeipa.git-227b3c7aaab3420f370daccd4f1da530a0b4fbc4.zip
beakerlib plugin: Don't try to submit logs if they are missing
-rw-r--r--ipatests/beakerlib_plugin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipatests/beakerlib_plugin.py b/ipatests/beakerlib_plugin.py
index 45f34c6a..71c1df53 100644
--- a/ipatests/beakerlib_plugin.py
+++ b/ipatests/beakerlib_plugin.py
@@ -116,6 +116,7 @@ class BeakerLibProcess(object):
raiseonerr=False)
if cmd.returncode:
self.log.warn('Could not collect all requested logs')
+ return
# Copy and unpack on the local side
topdirname = tempfile.mkdtemp()