From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 2 Feb 2007 19:29:36 -0000 Subject: [Cluster-devel] conga/luci/utils luci_cleanup luci_manage Message-ID: <20070202192936.25972.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 --- 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():