gnome-lirc-properties r3 - in trunk: . gnome_lirc_properties
- From: murrayc svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-lirc-properties r3 - in trunk: . gnome_lirc_properties
- Date: Fri, 25 Apr 2008 10:57:52 +0100 (BST)
Author: murrayc
Date: Fri Apr 25 09:57:52 2008
New Revision: 3
URL: http://svn.gnome.org/viewvc/gnome-lirc-properties?rev=3&view=rev
Log:
2008-04-25 Murray Cumming <murrayc murrayc com>
* gnome_lirc_properties/lirc.py: check_hardware_settings():
Add a check for a None remote.
This should fix bug #529854.
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 Fri Apr 25 09:57:52 2008
@@ -1013,6 +1013,9 @@
parser.read(open(remote_config))
for remote in parser.remotes:
+ if remote == None:
+ return False
+
if (remote.vendor == selected_remote.vendor and
remote.product == selected_remote.product):
return True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]