~tr3buchet/nova/lock

« back to all changes in this revision

Viewing changes to nova/virt/connection.py

  • Committer: Vishvananda Ishaya
  • Date: 2010-12-22 20:59:53 UTC
  • mto: This revision was merged to the branch mainline in revision 482.
  • Revision ID: vishvananda@gmail.com-20101222205953-j2j5t0qjwlcd0t2s
merge trunk and upgrade to cheetah templating

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
        raise Exception('Unknown connection type "%s"' % t)
67
67
 
68
68
    if conn is None:
69
 
        logging.error('Failed to open connection to the hypervisor')
 
69
        logging.error(_('Failed to open connection to the hypervisor'))
70
70
        sys.exit(1)
71
71
    return conn