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

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



CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	jparsons sourceware org	2006-07-24 14:44:48

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

Log message:
	Changed alias policy

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/Cluster.py.diff?cvsroot=cluster&r1=1.1&r2=1.2

--- conga/luci/site/luci/Extensions/Cluster.py	2006/05/30 20:17:21	1.1
+++ conga/luci/site/luci/Extensions/Cluster.py	2006/07/24 14:44:47	1.2
@@ -136,4 +136,7 @@
   def getAlias(self):
     #returns None if no alias set
     alias = self.getAttribute("alias")
+    if alias == None:
+      alias = self.getName()
+      self.addAttribute('alias',alias)
     return alias


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