Blob Blame History Raw
From 5982cb826a56ee322c7e5d6fbee479ff5b996561 Mon Sep 17 00:00:00 2001
From: Dan Kenigsberg <danken@redhat.com>
Date: Sat, 23 Jun 2012 18:46:51 +0300
Subject: [PATCH 19/19] BZ#824298 fix typo in keyword argument exc_info

Change-Id: Iff2ba114298bc1223ae4969f5da0eb5a5ce8672e
Signed-off-by: Dan Kenigsberg <danken@redhat.com>
Reviewed-on: http://gerrit.ovirt.org/5617
Reviewed-by: Igor Lvovsky <ilvovsky@redhat.com>
Reviewed-on: http://gerrit.ovirt.org/5628
---
 vdsm/configNetwork.py |    4 ++--
 vdsm/storage/image.py |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/vdsm/configNetwork.py b/vdsm/configNetwork.py
index 8b831d6..c535499 100755
--- a/vdsm/configNetwork.py
+++ b/vdsm/configNetwork.py
@@ -1,4 +1,4 @@
-# Copyright 2011 Red Hat, Inc.
+# Copyright 2011-2012 Red Hat, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -673,7 +673,7 @@ def removeLibvirtNetwork(network, log=True):
     except libvirt.libvirtError:
         if log:
             logging.debug('failed to remove libvirt network %s', netName,
-                          exec_info=True)
+                          exc_info=True)
 
 def assertBridgeClean(bridge, vlan, bonding, nics):
     brifs = os.listdir('/sys/class/net/%s/brif/' % bridge)
diff --git a/vdsm/storage/image.py b/vdsm/storage/image.py
index 03c94dc..a868568 100644
--- a/vdsm/storage/image.py
+++ b/vdsm/storage/image.py
@@ -1,5 +1,5 @@
 #
-# Copyright 2009-2011 Red Hat, Inc.
+# Copyright 2009-2012 Red Hat, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -676,7 +676,7 @@ class Image:
                 raise
             except Exception, e:
                 self.__cleanupMultimove(sdUUID=dstSdUUID, imgList=cleanup_candidates, postZero=postZero)
-                self.log.error(e, exec_info=True)
+                self.log.error(e, exc_info=True)
                 raise se.CopyImageError("image=%s, src domain=%s, dst domain=%s: msg %s" % (imgUUID, srcSdUUID, dstSdUUID, str(e)))
 
             cleanup_candidates.append(imgUUID)
-- 
1.7.10.2