]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
2005-12-06 Robert McQueen <robot101@debian.org>
authorRobert McQueen <robot101@debian.org>
Tue, 6 Dec 2005 12:38:07 +0000 (12:38 +0000)
committerRobert McQueen <robot101@debian.org>
Tue, 6 Dec 2005 12:38:07 +0000 (12:38 +0000)
* python/service.py: s/sucessful/successful/ so we're allocating to
and reading from the same variable. Oops.

ChangeLog
python/service.py

index 15a21f455245212f2480c219ecf742f259184d3b..59a3f829f37431cda3b2977718033f8ad2ddbb52 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index ad36e4f50ff9b6a49fd88918cc1c03aaa4d18e0a..9148a357fc90c0501a255ba9bf606d4d87d783a5 100644 (file)
@@ -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: