From: Robert McQueen Date: Tue, 6 Dec 2005 12:38:07 +0000 (+0000) Subject: 2005-12-06 Robert McQueen X-Git-Tag: dbus-0.61~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa839632c4409eb95adfcac2bd4f50fc9c106556;p=thirdparty%2Fdbus.git 2005-12-06 Robert McQueen * python/service.py: s/sucessful/successful/ so we're allocating to and reading from the same variable. Oops. --- diff --git a/ChangeLog b/ChangeLog index 15a21f455..59a3f829f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-12-06 Robert McQueen + + * python/service.py: s/sucessful/successful/ so we're allocating to + and reading from the same variable. Oops. + 2005-11-30 John (J5) Palmieri * Released 0.60 diff --git a/python/service.py b/python/service.py index ad36e4f50..9148a357f 100644 --- a/python/service.py +++ b/python/service.py @@ -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: