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

[Cluster-devel] conga/luci/utils luci_admin



CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	kupcevic 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:


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