gnome-lirc-properties r42 - in trunk: . gnome_lirc_properties
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-lirc-properties r42 - in trunk: . gnome_lirc_properties
- Date: Mon, 30 Jun 2008 16:43:04 +0000 (UTC)
Author: hadess
Date: Mon Jun 30 16:43:04 2008
New Revision: 42
URL: http://svn.gnome.org/viewvc/gnome-lirc-properties?rev=42&view=rev
Log:
2008-06-30 Bastien Nocera <hadess hadess net>
* gnome_lirc_properties/lirc.py: Handle the lircd.conf
file being missing (it's not broken if it's not there!)
(Closes: #540898)
Modified:
trunk/ChangeLog
trunk/gnome_lirc_properties/lirc.py
Modified: trunk/gnome_lirc_properties/lirc.py
==============================================================================
--- trunk/gnome_lirc_properties/lirc.py (original)
+++ trunk/gnome_lirc_properties/lirc.py Mon Jun 30 16:43:04 2008
@@ -1048,6 +1048,9 @@
remote_config = find_remote_config()
+ if not os.path.exists(remote_config):
+ return True
+
if not re.search(
r'^\s*include\s+%s\s*$' % re.escape(config.LIRC_REMOTE_CONF),
open(config.LIRC_DAEMON_CONF).read(), re.MULTILINE):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]