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

[Cluster-devel] conga/luci/utils luci_cleanup luci_manage



CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	rmccabe sourceware org	2007-02-02 19:29:36

Modified files:
	luci/utils     : luci_cleanup luci_manage 

Log message:
	'os.devnull' -> '/dev/null' since os.devnull exists only in python 2.4 and later

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/utils/luci_cleanup.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/utils/luci_manage.diff?cvsroot=cluster&r1=1.1&r2=1.2

--- conga/luci/utils/luci_cleanup	2006/08/04 18:43:26	1.4
+++ conga/luci/utils/luci_cleanup	2007/02/02 19:29:35	1.5
@@ -34,7 +34,7 @@
 LUCI_BACKUP_DIR = '/var/lib/luci/var'
 LUCI_DB_PATH = '/var/lib/luci/var/Data.fs'
 
-null = file(os.devnull, 'rwb+', 0)
+null = file('/dev/null', 'rwb+', 0)
 orig_stderr = sys.stderr
 
 def restore_luci_db_fsattr():
--- conga/luci/utils/luci_manage	2007/01/08 19:26:15	1.1
+++ conga/luci/utils/luci_manage	2007/02/02 19:29:35	1.2
@@ -34,7 +34,7 @@
 LUCI_BACKUP_DIR = '/var/lib/luci/var'
 LUCI_DB_PATH = '/var/lib/luci/var/Data.fs'
 
-null = file(os.devnull, 'rwb+', 0)
+null = file('/dev/null', 'rwb+', 0)
 orig_stderr = sys.stderr
 
 def restore_luci_db_fsattr():


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