[Cluster-devel] conga/luci/site/luci/Extensions HelperFunctions.py

rmccabe at sourceware.org rmccabe at sourceware.org
Tue Jun 5 05:28:04 UTC 2007


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

--- conga/luci/site/luci/Extensions/HelperFunctions.py	2007/05/15 21:42:21	1.6.4.3
+++ conga/luci/site/luci/Extensions/HelperFunctions.py	2007/06/05 05:28:03	1.6.4.4
@@ -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'




More information about the Cluster-devel mailing list