gnome-lirc-properties r4 - in trunk: . gnome_lirc_properties
- From: murrayc svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-lirc-properties r4 - in trunk: . gnome_lirc_properties
- Date: Fri, 25 Apr 2008 11:30:02 +0100 (BST)
Author: murrayc
Date: Fri Apr 25 10:30:01 2008
New Revision: 4
URL: http://svn.gnome.org/viewvc/gnome-lirc-properties?rev=4&view=rev
Log:
2008-04-25 Murray Cumming <murrayc murrayc com>
* gnome_lirc_properties/lirc.py: check_hardware_settings():
Use is instead of == in my previous fix. == seemed to actually set it.
This made the remote control always be the first in the custom list
instead of the supplied one.
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 10:30:01 2008
@@ -1013,7 +1013,7 @@
parser.read(open(remote_config))
for remote in parser.remotes:
- if remote == None:
+ if remote is None:
return False
if (remote.vendor == selected_remote.vendor and
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]