Am 4. Oktober 2010 17:29 schrieb Guido Trotter <[email protected]>: > --- a/lib/hypervisor/hv_kvm.py > +++ b/lib/hypervisor/hv_kvm.py > @@ -213,6 +213,8 @@ class KVMHypervisor(hv_base.BaseHypervisor): > _MIGRATION_INFO_MAX_BAD_ANSWERS = 5 > _MIGRATION_INFO_RETRY_DELAY = 2 > > + _VERSION_RE = re.compile('(\d+)\.(\d+)\.(\d+)')
Strings must use "". Use \b at beginning and end (see http://docs.python.org/library/re.html). Michael
