[Cluster-devel] conga/luci/utils luci_admin

kupcevic at sourceware.org kupcevic at sourceware.org
Fri Oct 13 06:56:32 UTC 2006


CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	kupcevic at sourceware.org	2006-10-13 06:56:32

Modified files:
	luci/utils     : luci_admin 

Log message:
	luci: remove os.devnull for backwards compatibility

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/utils/luci_admin.diff?cvsroot=cluster&r1=1.49&r2=1.50

--- conga/luci/utils/luci_admin	2006/08/23 19:58:43	1.49
+++ conga/luci/utils/luci_admin	2006/10/13 06:56:32	1.50
@@ -64,7 +64,8 @@
 	{ 'id': SSL_KEYCONFIG_PATH, 'name': SSL_KEYCONFIG_NAME, 'type': 'config', 'mode': 0644 }
 ]
 
-null = file(os.devnull, 'rwb+', 0)
+#null = file(os.devnull, 'rwb+', 0)   - available on python 2.4 and above!!!
+null = file('/dev/null', 'rwb+', 0)
 orig_stderr = sys.stderr
 
 if LUCI_INIT_DEBUG:




More information about the Cluster-devel mailing list