Re: [PATCH virt-manager] urlfetcher: Recognize RHEL Atomic Host ISOs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Cole Robinson <crobinso@xxxxxxxxxx> writes:

> On 10/05/2015 03:49 AM, Giuseppe Scrivano wrote:
>> Signed-off-by: Giuseppe Scrivano <gscrivan@xxxxxxxxxx>
>> ---
>>  virtinst/urlfetcher.py | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/virtinst/urlfetcher.py b/virtinst/urlfetcher.py
>> index ed062fe..e4a85f0 100644
>> --- a/virtinst/urlfetcher.py
>> +++ b/virtinst/urlfetcher.py
>> @@ -818,7 +818,7 @@ class RHELDistro(RedHatDistro):
>>  
>>      def isValidStore(self):
>>          if self.treeinfo:
>> -            m = re.match(".*Red Hat Enterprise Linux.*",
>> +            m = re.match(".*(Red Hat Enterprise Linux|RHEL).*",
>>                           self.treeinfo.get("general", "family"))
>>              ret = (m is not None)
>>  
>> 
>
> ACK, can you push with an extra comment like
>
> # Matches:
> #   Red Hat Enterprise Linux
> #   RHEL Atomic Host

Thanks, pushed with the amended comment.

Giuseppe

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux