Revision 8161a646 lib/utils.py
b/lib/utils.py | ||
---|---|---|
314 | 314 |
try: |
315 | 315 |
pid = int(pf.read()) |
316 | 316 |
except ValueError, err: |
317 |
logging.info("Can't parse pid file contents", exc_info=err)
|
|
317 |
logging.info("Can't parse pid file contents", exc_info=True)
|
|
318 | 318 |
return 0 |
319 | 319 |
|
320 | 320 |
return pid |
Also available in: Unified diff