~blamar/nova/libvirt-cleanup-branch

Viewing all changes in revision 1218.

  • Committer: Brian Lamar
  • Date: 2011-06-28 00:38:14 UTC
  • Revision ID: brian.lamar@rackspace.com-20110628003814-sfks4ba63ffh79u5
Two small cleanups in libvirt:

1) Moved flag defines to __init__.py
2) Replaced lazy-loading of imports with utils.optional_import (new)

One unrelated change is the addition of unittest2 to pip-requires. I'm
using the unittest.skipIf method in test_libvirt.py and unittest2 has
backported all Python 2.7 unittest improvements.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: