mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-04-23 19:10:42 +02:00
2005-12-06 Robert McQueen <robot101@debian.org>
* python/service.py: s/sucessful/successful/ so we're allocating to and reading from the same variable. Oops.
This commit is contained in:
parent
11f75c69e7
commit
fa839632c4
2 changed files with 9 additions and 4 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2005-12-06 Robert McQueen <robot101@debian.org>
|
||||
|
||||
* python/service.py: s/sucessful/successful/ so we're allocating to
|
||||
and reading from the same variable. Oops.
|
||||
|
||||
2005-11-30 John (J5) Palmieri <johnp@redhat.com>
|
||||
|
||||
* Released 0.60
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ def _method_lookup(self, method_name, dbus_interface):
|
|||
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 @@ def _method_lookup(self, method_name, dbus_interface):
|
|||
# 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 @@ def _method_lookup(self, method_name, dbus_interface):
|
|||
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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue