Author: gnichols
Date: 2012-05-21 13:58:40 +0000 (Mon, 21 May 2012)
New Revision: 1329
Modified:
trunk/v7/kernelInfo.py
Log:
817154 - Kernel- Check OS kernel build fails with MRG-RT kernel
Modified: trunk/v7/kernelInfo.py
===================================================================
--- trunk/v7/kernelInfo.py 2012-05-21 13:57:04 UTC (rev 1328)
+++ trunk/v7/kernelInfo.py 2012-05-21 13:58:40 UTC (rev 1329)
@@ -32,7 +32,7 @@
for productElement in self.getChildElements(Tags.product):
# allow partial match from left
try:
- if productElement.getAttribute(Attributes.name).index(product)is 0:
+ if product.index(productElement.getAttribute(Attributes.name)) is 0:
return productElement
except ValueError:
pass
Show replies by date