summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorRobert McQueen <robot101@debian.org>2005-12-06 12:38:07 +0000
committerRobert McQueen <robot101@debian.org>2005-12-06 12:38:07 +0000
commit1223e2e256e394a6cc02f6651058ce977fbe317f (patch)
tree853ba9367fda0b211eee59af57e391436cad0670 /python
parente18003716cb122356b215874a023170139f96189 (diff)
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.
Diffstat (limited to 'python')
-rw-r--r--python/service.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/service.py b/python/service.py
index ad36e4f..9148a35 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: