From 8161a64679c5b3c46a275bc3ae8e13b69c902993 Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Wed, 30 Jul 2008 15:00:54 +0000
Subject: [PATCH] Fix a misuse of exc_info in logging.info

This is my fault, sorry.

Reviewed-by: imsnah
---
 lib/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/utils.py b/lib/utils.py
index 40a6cdc6a..23fd1eb51 100644
--- a/lib/utils.py
+++ b/lib/utils.py
@@ -314,7 +314,7 @@ def ReadPidFile(pidfile):
   try:
     pid = int(pf.read())
   except ValueError, err:
-    logging.info("Can't parse pid file contents", exc_info=err)
+    logging.info("Can't parse pid file contents", exc_info=True)
     return 0
 
   return pid
-- 
GitLab