From mboxrd@z Thu Jan 1 00:00:00 1970 From: kupcevic@sourceware.org Date: 13 Oct 2006 06:56:32 -0000 Subject: [Cluster-devel] conga/luci/utils luci_admin Message-ID: <20061013065632.24518.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: 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 --- 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: