Skip to contentSkip to conversation

conga/luci/utils luci_admin

Cluster-devel [email protected] 1 participant 1 message Oct 13, 2006

lore
Share & tools
lore
#0 lore raw

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

luci/utils/luci_admin +2 -1
@@ -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: