Skip to contentSkip to conversation

conga/luci/utils luci_cleanup luci_manage

Cluster-devel [email protected] 1 participant 1 message Feb 2, 2007

lore
Share & tools
lore
#0 lore raw

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

luci/utils/luci_cleanup +1 -1
@@ -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():
luci/utils/luci_manage +1 -1
@@ -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():