diff mbox

[KVM-AUTOTEST,03/14] KVM test: kvm_utils.py: warn about exceptions raised during unpickling of env

Message ID 1276439625-32472-3-git-send-email-mgoldish@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Michael Goldish June 13, 2010, 2:33 p.m. UTC
None
diff mbox

Patch

diff --git a/client/tests/kvm/kvm_utils.py b/client/tests/kvm/kvm_utils.py
index 0da7015..82ecb77 100644
--- a/client/tests/kvm/kvm_utils.py
+++ b/client/tests/kvm/kvm_utils.py
@@ -35,7 +35,8 @@  def load_env(filename, default={}):
         return obj
     # Almost any exception can be raised during unpickling, so let's catch
     # them all
-    except:
+    except Exception, e:
+        logging.warn(e)
         return default