dbus/python service.py,1.21,1.22
Robert McQueen
robot101 at freedesktop.org
Tue Dec 6 04:38:09 PST 2005
Update of /cvs/dbus/dbus/python
In directory gabe:/tmp/cvs-serv25786/python
Modified Files:
service.py
Log Message:
2005-12-06 Robert McQueen <robot101 at debian.org>
* python/service.py: s/sucessful/successful/ so we're allocating to
and reading from the same variable. Oops.
Index: service.py
===================================================================
RCS file: /cvs/dbus/dbus/python/service.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- service.py 27 Nov 2005 16:40:57 -0000 1.21
+++ service.py 6 Dec 2005 12:38:07 -0000 1.22
@@ -99,7 +99,7 @@
if cls.__dict__[method_name]._dbus_interface == dbus_interface:
candidate_class = cls
parent_method = cls.__dict__[method_name]
- sucessful = True
+ successful = True
break
else:
pass
@@ -116,7 +116,7 @@
# the candidate class has a dbus method on the correct interface,
# or overrides a method that is, success!
parent_method = cls.__dict__[method_name]
- sucessful = True
+ successful = True
break
else:
@@ -128,10 +128,10 @@
if (candidate_class and method_name in cls.__dict__
and "_dbus_is_method" in cls.__dict__[method_name].__dict__):
parent_method = cls.__dict__[method_name]
- sucessful = True
+ successful = True
break
- if sucessful:
+ if successful:
return (candidate_class.__dict__[method_name], parent_method)
else:
if dbus_interface:
More information about the dbus-commit
mailing list