conga/luci/site/luci/Extensions HelperFunctions.py
CVSROOT: /cvs/cluster
Module name: conga
Branch: RHEL4
Changes by: rmccabe at sourceware.org 2008-08-07 19:23:21
Modified files:
luci/site/luci/Extensions: HelperFunctions.py
Log message:
Fix bz458298
luci/site/luci/Extensions/HelperFunctions.py +1 -1
@@ -9,7 +9,7 @@ import threading def resolveOSType(os_str): - if not os_str or os_str.find('Tikanga') != (-1) or os_str.find('Zod') != (-1) or os_str.find('Moonshine') != (-1) or os_str.find('Werewolf') != (-1) or os.str_find('Sulphur') != (-1): + if not os_str or os_str.find('Tikanga') != (-1) or os_str.find('Zod') != (-1) or os_str.find('Moonshine') != (-1) or os_str.find('Werewolf') != (-1) or os_str.find('Sulphur') != (-1): return 'rhel5' else: return 'rhel4'