On Mon, Oct 4, 2010 at 17:36, Michael Hanselmann <[email protected]> wrote:
> 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).

At end? Will that still match a 12.0.3.4 string?

iustin

Reply via email to