Skip to contentSkip to conversation

conga/luci/site/luci/Extensions HelperFunctions.py

Cluster-devel [email protected] 1 participant 1 message Jun 5, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Branch: EXPERIMENTAL
Changes by: rmccabe at sourceware.org 2007-06-05 05:28:03

Modified files:
luci/site/luci/Extensions: HelperFunctions.py

Log message:
Look for the Fedora 7 name.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/HelperFunctions.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.6.4.3&r2=1.6.4.4

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('FC6') != (-1) or os_str.find('Zod') != (-1) or os_str.find('Fedora release 6.9') != (-1):
+	if not os_str or os_str.find('Tikanga') != (-1) or os_str.find('FC6') != (-1) or os_str.find('Zod') != (-1) or os_str.find('Moonshine') != (-1):
 		return 'rhel5'
 	else:
 		return 'rhel4'