Revision 691744c4 lib/utils.py

b/lib/utils.py
502 502

  
503 503
  try:
504 504
    pid = int(pf.read())
505
  except ValueError, err:
505
  except (TypeError, ValueError), err:
506 506
    logging.info("Can't parse pid file contents", exc_info=True)
507 507
    return 0
508 508

  

Also available in: Unified diff